【发布时间】:2013-05-06 02:02:00
【问题描述】:
当我启动 Visual Studio Express 2012 for Web 时,我在包管理器控制台中收到此错误。
由于以下原因,无法加载 Windows PowerShell 管理单元 Microsoft.PowerShell.Core 错误:无法加载一种或多种请求的类型。检索 LoaderExceptions 属性以获取更多信息。 加载程序异常:
引发了“System.OutOfMemoryException”类型的异常。
我不记得向 Visual Studio 添加了任何新内容。我搜索了其他相关问题,但它们对我不起作用。
我尝试修复 Visual Studio。我还尝试重新安装 Visual Studio,它暂时解决了问题,但它又回来了。
谁有解决办法?
【问题讨论】:
-
检查任何可能正在加载的配置文件脚本。检查 C:\Users\\Documents\WindowsPowerShell\NuGet_profile.ps1、C:\Users\\Documents\WindowsPowerShell\profile.ps1、C:\Windows\system32\WindowsPowerShell\v1.0\NuGet_profile。 ps1 和 C:\Windows\system32\WindowsPowerShell\v1.0\profile.ps1.
-
实际上可能内存不够...
-
@StefanSteinegger 我检查了我的记忆我还有很多。
-
@KeithHill 谢谢,我会检查的。如果它们已加载,这意味着什么?
-
@KeithHill 没有一个被加载。
标签: model-view-controller powershell windows-7 nuget visual-studio-express