0
我使用Visual Studio 2012旗艦版,我試圖安裝mvcScaffolding但我收到錯誤。我試圖設置ExecutiongPolicy至繞道,但我仍然收到錯誤。任何想法如何解決這一問題?Nuget Visual Studio 2012
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
在此先感謝!吉列爾莫。
這聽起來不像是你可以繞過的東西......它是說有一個異常沒有被處理 – Jared
http://nuget.codeplex.com/workitem/1790 – Jared