【问题标题】:Nuget, Package Manager console(powershell) issueNuget,包管理器控制台(powershell)问题
【发布时间】:2013-01-08 15:28:51
【问题描述】:

我在 Visual Studio 2012 中的包管理器控制台初始化期间收到以下错误。我在 Windows 8 上。我在网上找不到任何信息,有没有人遇到同样的问题并找到了解决方案,请告诉我知道。

谢谢

The following error occurred while loading the extended type data file: Microsoft.PowerShell.Core, C:\Windows\SysWOW64\WindowsPowerShell\v1.0\types.ps1xml(2977) : Error in type "System.Security.AccessControl.ObjectSecurity": Exception: The getter method should be public, non void, static, and have one parameter of type PSObject.

The term 'Get-ExecutionPolicy' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

【问题讨论】:

    标签: windows-8 visual-studio-2012 nuget


    【解决方案1】:

    机器上安装了哪个版本的 Visual Studio? 您是否尝试以 Admin 身份运行它? 您也可以尝试按照此处的说明启用 Net3.5 @Powershell runtime

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-12-19
      • 2011-04-23
      • 2015-11-18
      • 2015-06-21
      • 2014-07-24
      • 2015-10-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多