-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[NETSDKE2E]With net9 preview 7 sdk installed, Running winforms/wpf failed in CLI. #42012
Comments
This is a coherency issue. We're still working on getting our tests updated to catch this type of issue. More codeflow will resolve it. |
Until we get a test in place to stop it, this will happen every time that windows desktop (or aspnet) inserts into SDK before runtime does. You can potentially check this by searching for active runtime codeflows and seeing how old they are: https://github.com/dotnet/sdk/pulls?q=is%3Apr+is%3Aopen+cedddd63-79f5-4e7e-6d46-08dc434c4948 |
Repro steps:
1.install net9 preview 7 SDK(9.0.100-preview.7.24357.2(runtime-9.0.0-preview.7.24352.15))
1.in CLI, dotnet new winforms or dotnet new wpf
2.dotnet run
Expected Result:
Run successfully
Actual Result
Run failed with below dialog.
dotnet --info:
.NET SDK:
Version: 9.0.100-preview.7.24357.2
Commit: 9cf65a0
Workload version: 9.0.100-manifests.4ffd17c4
MSBuild version: 17.12.0-preview-24354-03+07be3a17b
Runtime Environment:
OS Name: Windows
OS Version: 10.0.20348
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.100-preview.7.24357.2\
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.
Host:
Version: 9.0.0-preview.7.24352.15
Architecture: x64
Commit: static
.NET SDKs installed:
9.0.100-preview.7.24357.2 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.0-preview.7.24355.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.0-preview.7.24352.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 9.0.0-preview.7.24356.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
The text was updated successfully, but these errors were encountered: