[英]Missing ASP.NET Core Web Application from Visual Studio 2019
I am trying to build a new project at visual studio but I cant find "ASP.NET Core Web Application" from my visual studio.我正在尝试在 Visual Studio 中构建一个新项目,但我无法从我的 Visual Studio 中找到“ASP.NET Core Web 应用程序”。 I find only ("ASP.NET Core Web Application(.net FRAMEWORK")).
我只找到(“ASP.NET Core Web 应用程序(.net FRAMEWORK”))。 I tried everything.
我什么都试过了。 I updated visual studio.
我更新了视觉工作室。 I have installed everything of its package and still nothing.
我已经安装了它的 package 的所有东西,但仍然没有。 I downloaded the Visual studio 2017 and I finally had it but at visual studio 2019 it is I can't.
我下载了 Visual Studio 2017,我终于有了它,但在 Visual Studio 2019 上我不能。 Looking forward for any opinion.
期待任何意见。 thank you!
谢谢你!
It's because Visual Studio changed the name of: ASP.NET Core Web Application to ASP.NET Core Web App .这是因为 Visual Studio 将名称改为: ASP.NET Core Web Application到ASP.NET Core ZC6E190B2584639 DACE83C48
https://i.stack.imgur.com/zoHFH.png https://i.stack.imgur.com/zoHFH.png
In order to get .NET Core templates you should为了获得 .NET 核心模板,您应该
I just had a very similar issue.我只是有一个非常相似的问题。 I did have "ASP.NET and web development" and ".NET Core cross-platform development" installed as suggested by @krazors.
我确实按照@krazors 的建议安装了“ASP.NET 和 web 开发”和“.NET Core 跨平台开发”。 However, there were no APS.NET Core templates available.
但是,没有可用的 APS.NET Core 模板。
The issue was eventually resolved by rebooting.该问题最终通过重新启动解决。
You can add ASP.NET Core Web API to your project您可以将 ASP.NET Core Web API 添加到您的项目中
I had same problem.我有同样的问题。 I was missing.Net 5.0 Sdk.
我错过了.Net 5.0 Sdk。 Firstly modify vs from vs installer by removing ASP.NET and Web Development.
首先从 vs 安装程序修改 vs,删除 ASP.NET 和 Web 开发。 Then install.Net 5.0.
然后安装.Net 5.0。 Lastly modify vs back by uploading ASP.NET and Web Development on vs installer.
最后通过在 vs 安装程序上上传 ASP.NET 和 Web 开发来修改 vs。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.