0

I use Visual Studio 2012 Ultimate and I'm trying to install mvcScaffolding but I'm getting errors. I've tried to set the ExecutiongPolicy to Bypass, but I'm still getting errors. Any ideas how to fix this?

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

Thanks in advance! Guillermo.

4

1 に答える 1

2

VS2012、Nugetなどを再インストールした後、Packagesフォルダーを削除する解決策を見つけました。ありがとう。ギレルモ。

于 2012-11-01T21:48:25.710 に答える