Installation of the Multi-Device-Hybrid CTP failed to add anything to VS

允我心安 提交于 2019-12-24 16:13:36

问题


I installed the CTP of the multi-device-hybrid apps and the new app templates didn't show up in VS. The add-in also didn't show up in the Extensions & Updates list in VS. Trying to Uninstall it claimed to work instantly, but didn't uninstall anything.


回答1:


This is an odd situation and should generally not occur. It seems the VSIX file got copied over but was not installed correctly.

Here's the work around (run using an administrative command prompt):

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common \IDE\VSIXInstaller.exe" /admin /uninstall:MultiDeviceHybridApps..db151788-9b27-49db-a5e2-d25a2653eb83

This removed the broken entries for the VSIX from the previous failed attempt to install. Following this, issue another command:

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VSIXInstaller.exe" "%localappdata\Microsoft\MultiDeviceHybridApps\Microsoft.VisualStudio.MultiDeviceHybridApps.vsix" /admin

At this point, the VSIX should be installed successfully and the templates will become available in Visual Studio.



来源:https://stackoverflow.com/questions/23686482/installation-of-the-multi-device-hybrid-ctp-failed-to-add-anything-to-vs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!