-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Apps fail when app-local binary is lower than the version provided by a shared runtime #3252
Comments
@natemcmaster once a build is available can you verify this before I create the 2.2 and 2.1.x PRs. Thanks |
Yes, happy to help verify. |
@steveharter what is the status of backporting this to 2.1? Users are running into this now in 2.1.3. |
I've opened https://github.com/dotnet/core-setup/issues/4512 to track the work to backport the fix to 2.1.x. |
@natemcmaster I was waiting for test verification (and was OOF last week). |
Verified the fix in Microsoft.NETCore.App\3.0.0-preview1-26830-01 |
Will this be fixed in 2.2 as well? |
@GustavSt yes, this should be fixed in 2.2 Preview 3. The proposed fix for dotnet/core-setup#4521 should be merged up into 2.2 after we're done testing it for 2.1.x. |
Just to clarify, is this currently working in 2.1.x? |
Yes, this should be fixed in .NET Core 2.1.5. |
@natemcmaster I was able to explicitly reference Kestrel 2.1.3 and that seems to work, thanks! |
Hi, I'm experiencing the same behavior when running implicit versioned (dotnet/AspNetCore.Docs#6430 (comment)) I created a new issue for this because it seems to be specific to having a reference to signalr.. |
@nalla please see dotnet/aspnetcore#3503. |
Steps to reproduce
Install ASP.NET Core 2.1.3 and
dotnet run
this projectExpected behavior
I expected the host to rollforward to the latest Microsoft.AspNetCore.App shared runtime (2.1.3), and to prefer the version of Microsoft.AspNetCore.Server.Kestrel.Core.dll it provides (AssemblyVersion=2.1.3.0) because it is higher than the app-local version (Version=2.1.2.0)
Actual behavior
The host prefers the app-local version (2.1.2.0), and when it rollsforward to the highest patch, the application fails with
FileLoadException
due to an assembly verison downgrade forced upon the other binaries in the Microsoft.AspNetCore.App shared runtime.Environment data
The text was updated successfully, but these errors were encountered: