问题描述
我正在尝试使用Visual Studio 2015启动一个新的ASP.NET应用程序。
当我点击"New Project ..."时,
然后在选择"ASP.NET Web应用程序"之前选择"Visual C#"==>"Web",
我提供一个名称对于项目,然后单击< OK>。
我选择MVC模板。
我在消息窗口中收到以下内容:
" Microsoft Visual Studio
&NBSP; &NBSP; &NBSP; &NBSP;包装安装错误
&NBSP; &NBSP; &NBSP; &NBSP;无法将所有必需的包添加到项目中。 以下软件包无法从'C:\Program Files(x86)\ Microsrosoft ASP.NET \ ASPP.NET Web Stack 5 \Packages'安装:
&NBSP; &NBSP; &NBSP; &NBSP; jQuery.1.10.2:无法初始化PowerShell主机。 如果您的PowerShell执行策略设置设置为AllSigned,请打开程序包管理器控制台以首先初始化主机。
Modernizr.2.6.2:无法初始化PowerShell主机。 如果您的PowerShell执行策略设置设置为AllSigned,请打开包管理器控制台以首先初始化主机。"
任何想法是什么缺少以及如何纠正这种情况将不胜感激。
I am trying to start a new ASP.NET app using Visual Studio 2015.
When I click "New Project...",
I then select "Visual C#"==>"Web", before selecting "ASP.NET Web Application",
I supply a name for the project and click <OK>.
I select the MVC template.
I receive the following in a message window:
"Microsoft Visual Studio
Package Installation Error
Could not add all required packages to the project. The following packages failed to install from 'C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Stack 5\Packages':
jQuery.1.10.2 : Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.
Modernizr.2.6.2 : Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first."
Any ideas what is missing and how to remedy this situation would be greatly appreciated.
这篇关于Visual Studio 2015中的ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!