简体   繁体   中英

ASP.NET Empty Web Site template

I'm trying to find ASP.NET Empty Web Site in Visual Studio 2016 template list, but I can't. It is still exist there or I'm able to use only ASP.NET Web Application?

Open VS2015 > File > New Project > Select ASP.NET web application (.NET framework)

新项目选项

Then press OK to continue. On next template window, select Empty option-

空模板选项

See if this helps.

只需创建一个空文件夹,然后从启动页面中选择“打开网站”选项。

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

It probably gets missed as this option is only visible if you click on the ASP.NET workload and is not listed on the "Individual components" tab!

See Image 1 here

After installing the component, the templates are now present:

See Image 2 here

To create an Empty web site, you need to do the following :

Open VS2015 > File > New Web Site > Visual C# > ASP.Net Empty Web Site

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM