我在 VS2015 和 cordova 项目中遇到问题。当天早些时候,我的项目进展顺利。但是,我将一个项目移动到一个新文件夹,现在 VS2015 无法正常工作。它正在运行,但不知何故 webessentials 被卸载,我的 gulpfile.js 中的 NPM 包损坏了 Visual Studio ....
有人以前遇到过这个问题吗?
<entry>
<record>28</record>
<time>2015/09/22 22:18:17.610</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Loading UI library</description>
<guid>{2EF1EC52-C8BF-4FE0-8ECE-BA9C0D5D1603}</guid>
<hr>800a006f</hr>
<errorinfo>Cannot find the requested resource: 'VSMenus.ctmenu'.</errorinfo>
<entry>
<record>48</record>
<time>2015/09/22 22:18:18.186</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [ResourceManagerPackage]</description>
<guid>{7C6A3AE5-F469-4D51-B52D-50393DEC9432}</guid>
<hr>80070002</hr>
<errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Azure.ResourceManager.Contracts.1.0, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
重命名或删除 AppData 配置文件目录中的 VS 配置文件文件夹解决了我的问题。如果您安装了很多扩展,如果此解决方案无法解决问题并且希望通过将文件夹重命名回来来恢复,您可能更喜欢重命名。
[drive]:\Users\<your user>\AppData\Roaming\Microsoft\VisualStudio\14.0
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)