-
Notifications
You must be signed in to change notification settings - Fork 926
FileLoadException on IServiceCollection.AddReact() in beta6 #153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I see that there were updates to project.json 2 days ago regarding to beta6, but this isn't pushed to NuGet yet, right? Maybe that's the problem? |
What's the full message and stack trace for the exception? |
Stacktrace:
Error message: |
I saw you updated the package to version 1.5.4, I still have the problem with that one... |
That is really strange as the library is strongly-named, so an "A strongly-named assembly is required" error doesn't really make sense. Do you get that error on a brand new ASP.NET 5 site? I can't replicate it on a new site in Visual Studio. What .NET version are you using? |
Yeah true, it is really strange. I'm currently using the clr-x86-beta6 .net version. I'm creating an empty ASP.NET application (because we don't use MVC). |
I'm seeing the same error with 1.5.4 with ASP.NET 5 beta7. I run into the same issue going through the basic walkthrough on ASP.NET MVC 5 (.NET 4.x) using the 1.5.4 version. Error message: |
This is really strange. I just posted in the ASP.NET home repo (dotnet/aspnetcore#923) to see if the ASP.NET team have any ideas. Edit: Looks like there's an issue at dotnet/aspnetcore#800 for it
This is expected, I only set AssemblyVersion to Major.Minor (eg. 1.5) as bugfix releases are API-compatible, so you can upgrade 1.5.3 to 1.5.4 without needing an assembly binding for code that was compiled against 1.5.3. |
At the moment it looks like this happens if the site is called "React", as it conflicts with ReactJS.NET's assembly name (which is also called "React"). Give your site another name and this won't happen any more :) Let's follow up in dotnet/aspnetcore#800. |
Hi guys,
I'm getting a FileLoadException on services.AddReact() in the ConfigureServices method. Does someone else have this problem? And knows how to fix it? :D
Thanks!
The text was updated successfully, but these errors were encountered: