How to create an ASP.NET website in Visual Studio 2019?

 ̄綄美尐妖づ 提交于 2019-12-08 06:54:47

问题


I am creating an application using VS 2019 and Web API (.NET Framework). I need to create a blank website, but getting only web application project template. Is there any tools do i need to be installed? Please check the below image to understand my need.

VS 2017

VS 2019


回答1:


To create "ASP.NET Web Site" projects in Visual Studio 2019 you need to install the "Additional project templates (previous versions)" ASP.NET Component as shown below.

I have to confess I'd missed this option too as it's only visible if you click on the ASP.NET workload and is not listed on the "Individual components" tab!

After installing the component, the templates are now present:



来源:https://stackoverflow.com/questions/58224003/how-to-create-an-asp-net-website-in-visual-studio-2019

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!