I have already installed .NET 8 SDK preview but it doesn't show up when I create a new project in latest Visual Studio 2022 Version 17.8.0 Preview 2.0.


I also can't find the option Use preview of the .NET SDK in Manage Preview Feature
I was led here looking for a reason why .NET 8 does not appear in the Framework dropdown when I had the .NET 8 SDK installed. Since .NET 8 is not in preview any longer, the above posts did not work for me. I found that I needed to upgrade my Visual Studio 2022 installation to build 17.8 or higher.
The existing Blazor templates were all removed and combined to create the new Blazor Web App template in .NET 8, and as a result the older templates will not offer .NET 8 as an option.
Either use the Blazor Web App template or create the old .NET 7 template and manually upgrade the target framework.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With