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
Razor server fails to launch with only .net9 installed #10132
Comments
Yes, it should be |
@dibarbet This issue still reproduces on the latest .NET 9.0 Preview 3 SDK (install from the https://github.com/dotnet/installer) |
@ryzngard was this merged into VSCode last week? If it was it should be fixed in the prerelease we did this week. |
Nevermind, I see it is in 2.23.14 - https://github.com/dotnet/vscode-csharp/releases/tag/v2.23.14 |
@v-Judy do you mind checking the runtimesettings file on your machine? Locally for me it was located at {
"runtimeOptions": {
"tfm": "net8.0",
"rollForward": "LatestMajor",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
} The key is that the |
They said it does not repro on the latest version, so I think we're all good :) |
omg... ☕ needed. It's been a long day already 🤣 Everything has been falling apart so I just assumed this too. Yay for a win! |
The runtimesettings file on my machine contents were as follows:
|
Copied from comment here - dotnet/vscode-csharp#6980 (comment)
Looks like the Razor server does not roll forward (currently the dotnet runtime installer allows any dotnet greater than 8).
This issue also reproduces on the .NET9.0 SDK with VSCode
v 1.87.2
, C# Dev Kitv 1.4.29
,C# v 2.22.5
.The 'Razor Logs' output window logs show as below:
The text was updated successfully, but these errors were encountered: