-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription for stable servicing releases includes the full build information in the version suffix #45812
Comments
It shouldn't. I can take a look tomorrow to see why the version was wrong. |
Is this fixed now? |
Yeah this was fixed on: #45876. However I need to add tests for it to avoid regressing again. |
@safern What is the current status of this? |
We are still missing tests for this. |
FYI seems we meant to take this for GA but it slipped through the cracks #60572 (comment) |
I will work on adding tests for this on 7.0 so that this doesn't happen again. |
So is the fix going to make into 6.0.1? Just wondering if I need to have a workaround in place so we don't show an ugly version on the dot.net website as I reported on #61394. If it's just a few more days, I can wait. |
7 months later... We don't have the work for this scheduled yet. Moving to Future. I don't know if a workaround is already in place though. |
We need to make sure the string contains only the stabilized version in servicing, or a non-stabilized one otherwise. This prevents issues like dotnet#45812 and what we hit in dotnet#93807. Closes dotnet#45812
…otnet#93913) We need to make sure the string contains only the stabilized version in servicing, or a non-stabilized one otherwise. This prevents issues like dotnet#45812 and what we hit in dotnet#93807. Closes dotnet#45812
Description
Using the just released 5.0.1 runtime, the
System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription
API is returning the string ".NET 5.0.1-servicing.20575.16". The issue reproduces on Windows during local dev on a framework-dependent app, and after deployment when running on Linux as a self-contained app.Repro
Call the
System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription
API in an app targetingnet5.0
on a machine with the .NET 5.0.1 runtime installed.Expected
Calling the
System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription
API should return a description with stable versions for stable servicing releases, e.g. ".NET 5.0.1".Actual
Using the just released 5.0.1 runtime, calling the
System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription
API is returning the string ".NET 5.0.1-servicing.20575.16", which includes an unstable/preview version suffix.The text was updated successfully, but these errors were encountered: