Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Given section in project file:
The resulting runtimeconfig is as follows:
Application will not run unless 6.0.0 is installed or a different rollforward strategy is used (e.g., latestpatch).
Expected Behavior
Runtimeconfig.json must indicate the 6.0.1 as the targeted .NET runtime version (as in RuntimeFrameworkVersion)
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
.net 6
Anything else?
Using VS 2022
dotnet --info
.NET SDK (reflecting any global.json):
Version: 6.0.101
Commit: ef49f62
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19042
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\6.0.101\
Host (useful for support):
Version: 6.0.1
Commit: 3a25a7f1cc
.NET SDKs installed:
6.0.101 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]