Click here to Skip to main content
15,887,302 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am having trouble creating/opening a website project in VS 2022.
(It opens like a 'project' not 'website')

Our professor gave us this video:
02 Creating a Web Forms User Interface vb - YouTube[^]

I am trying to recreate in VS 2022, but I'm not sure how?
All the videos I have watched, uses code, and not the Tool Box.

If anyone knows how to create an ASP.NET Website in VS 2022 with its Tool Box,
I would be really grateful.

What I have tried:

I have downloaded the needed tools for VS 2022, but the problem is still there.
Posted
Updated 27-Mar-24 1:18am

"Website projects", which have no project file, have been deprecated for over a decade now. You can still open existing ones, but in order to create a new one, you need to install the "additional project templates":

Can't find the 'create new website' of option in visual studio 2019 and 2022 - Microsoft Q&A[^]

For new development, we recommend that you choose web application projects. This topic explains that web site projects have some advantages, but many developers who choose web site projects eventually find that the disadvantages outweigh any perceived advantages. In addition, as new ASP.NET features are developed, they won’t always be made available for web site projects. For example, the next Visual Studio release after Visual Studio 2012 will have new tooling for creating web projects, and this new tooling will work only with web application projects.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900