has anyone else dealt with this? My ultimate goal is to create a new empty web api project. I've been following tutorials and I've encountered the following issue:
My issue is that when I try to create a ASP.NET Web Application project in Visual Studio Pro 2012 I do not see that template as an option. I go to Installed --> Templates --> Visual C# --> Web
All I see is ASP.NET Empty Web Application. So I selected that and then expected the ASP.Net project window to pop up so that I could select "Web Api". However, that dialog never opened.
Does anyone know how/where I can get the ASP.NET Web Application template?
In the Not finding what you're looking for? message, found at the bottom of the list of templates, select the Install more tools and features link. Next, in the Visual Studio Installer, select ASP.NET and web development. Select Modify in the Visual Studio Installer.
The accepted answer to that question was: "Web Forms templates exist in Visual Studio 2022. Select ASP.NET Web Application (. NET Framework). A few clicks later you can select Web Forms.
One way to do this is to select File --> Open --> Web Site from Visual Studio. Click on File System. Select your target folder or click on the Create New Folder icon and name it as you prefer. This will create an empty web site project and you can add new pages, folder and the like as needed.
I came across your question as I had the same problem. When I first installed Visual Studio I didn't tick the box to install the Web Components. Here is how I solved the issue:
When selecting New Project in Visual Studio I can now see the required templates.
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