我使用 Visual Studio 2012 Ultimate,我正在尝试安装mvcScaffolding,但出现错误。我试图将ExecutiongPolicy设置为Bypass,但我仍然遇到错误。任何想法如何解决这一问题?
PM> Set-ExecutionPolicy Bypass -Scope Process
Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose you to the security risks described in the about_Execution_Policies help topic. Do you want to change the execution policy?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):y
PM> install-package mvcScaffolding
Attempting to resolve dependency 'T4Scaffolding'.
Install-Package : '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
At line:1 char:16
+ install-package <<<< mvcScaffolding
+ CategoryInfo : NotSpecified: (:) [Install-Package], XmlException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
提前致谢!吉列尔莫。