You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've notice that this API has changed behavior in .NET 6 and I'm not sure if it's by design.
In .NET 6, the value returned is .NET 6.0.0-rtm.21522.10. In .NET 5, the value returned is .NET 5.0.12.
You can see this behavior on the .NET site footer: https://dotnet.microsoft.com/
I can send internally the repro with the .NET 5 behavior.
Reproduction Steps
This is the code that we have for that:
new HtmlString(
footerHtml.Replace(
">Powered by ASP.NET Core",
$">Powered by {RuntimeInformation.FrameworkDescription}"));
Expected behavior
Return a friendlier version description
Actual behavior
Returns some strings like -rtm, etc. that I don't know where they're coming from. I expected that it would return .NET 6.0.0
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered:
Description
I've notice that this API has changed behavior in .NET 6 and I'm not sure if it's by design.
In .NET 6, the value returned is .NET 6.0.0-rtm.21522.10. In .NET 5, the value returned is .NET 5.0.12.
You can see this behavior on the .NET site footer: https://dotnet.microsoft.com/
I can send internally the repro with the .NET 5 behavior.
Reproduction Steps
This is the code that we have for that:
new HtmlString(
footerHtml.Replace(
">Powered by ASP.NET Core",
$">Powered by {RuntimeInformation.FrameworkDescription}"));
Expected behavior
Return a friendlier version description
Actual behavior
Returns some strings like -rtm, etc. that I don't know where they're coming from. I expected that it would return .NET 6.0.0
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: