missing “ASP.NET Core Web Application (.NET Core)”

2020-02-12 09:12发布

I am trying to develop a ASP.NET Core application. I tried following the documentation (for example this tutorial), but I fail to find the ASP.NET Core template. The dialog that should contain it looks like that instead: the new project dialog.

I am using Microsoft Visual Studio Enterprise 2015 Version 14.0.25431.01 Update 3, and installed the Microsoft .NET Core 1.0.1 VS 2015 Tooling Preview 2 (I have also repaired and reinstalled it, without success).

7条回答
Anthone
2楼-- · 2020-02-12 09:16

Fro those who have visual studio 2015 update 3 and selected Windows and Web Development while instaltion, but still can't find .net core. You can go to Microsoft Targeting website download it seprately and install it.

查看更多
够拽才男人
3楼-- · 2020-02-12 09:17

Install .NET Core 1.0.1 - VS 2015 Tooling Preview 2

查看更多
太酷不给撩
4楼-- · 2020-02-12 09:22

You need to install Microsoft Web Development Tools first (Open Visual Studio installer, choose modify, tick Microsoft Web Development Tools, then update) Then install Microsoft .NET Core 1.0.1 VS 2015 Tooling Preview 2

查看更多
ゆ 、 Hurt°
5楼-- · 2020-02-12 09:30

I had the same Problem. I installed Install .NET Core 1.0.1 - VS 2015 Tooling Preview 2 and that works

查看更多
霸刀☆藐视天下
6楼-- · 2020-02-12 09:33

Try change the framework version at the top.

If doesn't work, reinstall core and update 3 and watch if any message error shows up.

查看更多
疯言疯语
7楼-- · 2020-02-12 09:34

Ensure you have the Microsoft Web Development Tools installed which you can find in the Visual Studio installer under Windows and Web Development

Once installed, start up Visual Studio and check your templates again and you should see the ASP.NET Core templates.

Update

Per the comment below,

For those who already had visual studio 2015+ installed but didn't add the feature during the inital installation, you have to download the main visual studio installer and modify its features

查看更多
登录 后发表回答