VS 2015 Preview missing “ASP.NET 5 Web Application” project type?

前端 未结 8 1013
梦如初夏
梦如初夏 2020-12-16 10:46

In Visual Studio 2015 Preview, I see the following vNext templates in the \"New Project\" window:

\"vNext

相关标签:
8条回答
  • 2020-12-16 11:18

    I was having the same problem, except that unlike the accepted answer suggests, the ASP.NET Web Application was not on the list of templates at all.

    I was able to get it to show up after following the instructions from this article.

    1. From Visual Studio 2015: Tools -> Extensions and Updates
    2. Select Online then click Visual Studio Gallery
    3. Search for ASP.NET Project Templates and download the first result.
    4. Go through installation process, relaunch Visual Studio, and Web Application should now be an option!

    Alternately, you can download the templates directly here.

    I believe this download actually is meant to install some other templates that I wasn't interested in, but installing them must have also installed the base template in the process. Either way, it worked for me.

    0 讨论(0)
  • 2020-12-16 11:25

    For that you have to download the .net core cross platform development, below steps you will refer

    1. open VISUAL Studio installer
    2. click the option in the list click modify
    3. below image you can refer it

    4. once complete installation,now you have the option for asp.net core web application

    0 讨论(0)
  • 2020-12-16 11:29

    In my case the problem was in the Microsoft .NET Core 1.0.1 VS 2015 Tooling Preview 2 corrupted installation.

    It was performed:

    • install the ASP.NET Project Templates following answer from this post - NO RESULT
    • reinstalling Microsoft Web Developer Tools from the identical SO post - NO RESULT
    • fresh install the IDE using TotalUninstaller tool - NO RESULT
    • repair the Microsoft .NET Core 1.0.1 (see the sketch below) - SOLVED

    Only repair .NET Core 1.0.1 finally solved the problem!

    0 讨论(0)
  • 2020-12-16 11:32

    Visual Studio Ultimate 2015 Preview contains everything you need to create an ASP.NET 5 (vNext) web application. One additional generic option should be available that's not depicted in your question:

    Web template options

    It's not entirely clear at this point, but choosing the generic web application option will present a few ASP.NET 5 (vNext) options that you're seeking in the following dialog:

    ASP.NET Web Application templates

    0 讨论(0)
  • 2020-12-16 11:32

    In following Sam's Suggestion, I noticed that there were Updates Pending. One of these updates included the missing ASP.NET 5 templates.

    Tools > Extensions & Updates > Updates > Visual Studio Gallery

    Once updated & Installed, the Web Application was then available as described in the tutorial.

    0 讨论(0)
  • 2020-12-16 11:32

    The new update released this week has renamed ASP.NET 5 into a new framework which they are now calling ASP.NET Core. More information can be found in this article https://blogs.msdn.microsoft.com/webdev/2016/05/16/announcing-asp-net-core-rc2/

    0 讨论(0)
提交回复
热议问题