Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why .NET 8 preview doesn’t show up in Visual Studio 2022 Version 17.8.0 Preview 2.0

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.

enter image description here

enter image description here

I also can't find the option Use preview of the .NET SDK in Manage Preview Feature

like image 970
Steve Avatar asked Dec 02 '25 20:12

Steve


2 Answers

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.

like image 80
TylerE Avatar answered Dec 04 '25 12:12

TylerE


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.

like image 33
Pathogen David Avatar answered Dec 04 '25 10:12

Pathogen David



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!