Home > Software design >  Visual Studio 2022 - asp.net web application - Target Framework missing .NET Core
Visual Studio 2022 - asp.net web application - Target Framework missing .NET Core

Time:11-14

I have a ASP.net Web application and have been advised to use .NET core rather than .NET 4

From the Visual Studio 2022 Installer I have installed .NET Core 3.1 Runtime:- enter image description here

But when I go to the "Web applications" Target Framework its not an option:- enter image description here

If I were to have a "Windows Form app" then the .NET Core is available: enter image description here

Can I use .NET Core in a "ASP.net Web application"?

If so any ideas what I'm doing wrong?

tia

CodePudding user response:

1.- you need to verify if you have installed framework 4.8 or oldest link https://dotnet.microsoft.com/en-us/download/dotnet-framework/net48

2.- when you create the proyect it shoult see like this

show image

  • Related