【发布时间】:2015-12-20 02:12:35
【问题描述】:
我遇到了 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>
【问题讨论】:
-
这里也一样。收到此消息后,Web Essentials 2015 将被禁用。
-
@sprinter252 这是让
VS2015工作的方法。它将重置 VS2015,您需要重新安装扩展,但它可以工作。Command Prompt > VS2015 Folder:devenv.exe /resetuserdata。另一个对我不起作用的选项devenv.exe /updateconfiguration& 然后devenv.exe /clearcache -
不幸的是,devenv.exe /resetuserdata 将允许 VS2015 工作,但它不能解决根本问题,并且问题会再次发生。
-
@sprinter252 你的VS2015是怎么崩溃的?当我编辑我的 package.json 并且 NPM 开始下载包时,它发生在我身上。 ![Screen Shot]
-
@Till 如果我没记错的话,我使用添加或删除程序 > Microsoft Visual Studio Community 2015 修复了我的 VS2015 版本。右键单击 > 更改 > 修复。
标签: visual-studio-2015 visual-studio-cordova