Repository navigation
React.NET Breaks on NET Core 3.0 Preview 4 #787
Description
Activity
What's on the
masterbranch is the alpha build, I forgot to push the bump to build.proj :) if you try and build this project against the ASP.NET Core 3 preview SDK you should see a build error forReact.AspNet.I suspect the ctor breaking change is caused by dotnet/aspnetcore#7725
If that is indeed the case, we'll need to ship compile different DLLs for .NET Core 2.x and 3.x.
Feel free to send a PR but it will probably also need some changes to the build pipeline :) I have a little time to kill right now so I'll take a look.
I'll try to send a PR in the next few weeks :)
Do you have a Slack or anything like this if I have any questions when I work on this, or should I ask my questions here in the comments ?
For the different DLLs to ship, my first thoughts are that we may need to target netstandard2.1 (with compiler directives) especially for ASP.NET Core 3, since it will run on that platform if I did get all the annoucements, I'll take a closer look on that in the next few days.
- I’m pretty sure we will need to target netcoreapp3.0, a few types are directly referenced from the Microsoft.AspNet namespace. I just do communications in github issues... also just for transparency I think I got all the changes needed locally so I’ll be pushing a branch shortly. It won’t be mergeable until CI has the netcore3.0 sdk.…On Mon, Apr 29, 2019 at 10:39, Maxime BAUMANN ***@***.***> wrote: I'll try to send a PR in the next few weeks :) Do you have a Slack or anything like this if I have any questions when I work on this, or should I ask my questions here in the comments ? For the different DLLs to ship, my first thoughts are that we may need to target netstandard2.1 (with compiler directives) especially for ASP.NET Core 3, since it will run on that platform if I did get all the annoucements, I'll take a closer look on that in the next few days. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#787 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAHGCFWBYDRMON53JSQNG4TPS4QC5ANCNFSM4HITW7WQ> .Reacted by Maxime BAUMANN
A WIP branch is available in #791. CI won’t pass until appveyor supports the 3.0 sdk which is in preview right now.
I think we can close this now that #791 is done?
Yep!
Please verify these steps before filing an issue, and check them off as you go
JavaScriptEngineSwitcher.V8.Native.win-x64)SetUseReactandSetUseBabelis correct inReactConfig.csorStartup.csI'm using these library versions:
ReactJS.NET: React.AspNet versions 4.1.1 - 4.2.0-beta1 - 5.0.0-alpha1JavaScriptEngineSwitcher: ChakraCore v3.0.9 + win32, win64reactandreact-dom: react 16.8.4 - react-dom 16.8.4webpack: N/Anode: v10.14.1Runtime environment:
Steps to reproduce
When loading JSX/TSX using React.NET with ASP.NET Core 3 Preview 4, there's an issue with the
BabelFileMiddlewareinstanciation, since the constructor of theStaticFileMiddlewarechanged between netcore 2 and netcore 3.Here's a stack trace :
Since I need this for validating my computer science degree, I'm interested on contributing on this issue, and help to prepare a release wich is compatible with ASP.NET Core 3. Is there any work in progress for netcore 3 ? And, where can I find the sources for
ReactJS.NET 5.0.0-alpha1? It seems thatmasteronly contains sources for4.2.0-beta1(and what's the differences between those two versions ?).