我在 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.