问题描述
我无法使用任何模板启动新的ASP.NET项目.我曾经有过,但不是.我的步骤是:
I can't start a new ASP.NET project with any templates. I have in the past but not I can't. My steps are:
1. Visual Studio
1. Visual Studio
2.新项目
3. ASP.NET Web应用程序(.NET Framework) -> (或任何ASP.NET模板,即核心Web应用程序等)
3. ASP.NET Web Application (.NET Framework) -> (or any ASP.NET Templates ie. Core Web Application etc)
4.选择任何模板(包括空")都会导致错误:
4. Choosing any of the templates, including Empty, results in error:
未找到方法:'System.Threading.Tasks.Task'1< Bolean> Microsoft.VisualStudio.Web.Internal.Contracts.IAzureResourceCreationControl.EnsureCreationParamsAsync(Microsoft.VisualStudio.Web.ProjectCreation.Contracts.IProjectCreationInteractions,System.Threading.CancellationToken)'.
Method not found: 'System.Threading.Tasks.Task'1<Bolean> Microsoft.VisualStudio.Web.Internal.Contracts.IAzureResourceCreationControl.EnsureCreationParamsAsync(Microsoft.VisualStudio.Web.ProjectCreation.Contracts.IProjectCreationInteractions, System.Threading.CancellationToken)'.
会弹出一个错误消息框,当我单击确定"或取消"时,Visual Studio会挂起一会儿,然后崩溃.我已经尝试了很多次,并检查了所有更新和软件包.我无法弄清楚.
A message box pops up with that error and when I click Ok, or Cancel Visual Studio hangs a moment and then crashes. I have tried many times and checked for all updates and packages. I can't figure this out.
爱,赞美和敬拜上帝:)
Love, praise, and worship God :)
推荐答案
这篇关于无法在Visual Studio 2013或2015中启动新的ASP.NET项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!