Installing a Visual Studio Extension

折月煮酒 提交于 2021-01-28 05:00:25

问题


I've just started using VS2015 and I'm having trouble doing something that should be simple... install the Side Waffle extension.

From their website I downloaded the .vsix file, templatepack.vsix. When I double click on it, I get an message, "The extension manifest is invalid."

So I went into Visual Studio 2015, went to Tools > Extensions and Updates, and found it under 'Online'. But the only option is to download it. There is no "Install" option.

I went back to the download folder, and on templatepack.vsix I did a right-click and open-with, then tried Microsoft Visual Studio Version Selector. Again I got the message "The extension manifest is invalid."

I tried just dragging the .vsix file into Visual Studio, but that just opened the file so I could edit it. It didn't install it.

I'm out of ideas.


回答1:


Ok, figured it out. Located here:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE

There is an app called: VSIXInstaller.exe

Right-clicked on the extension > Open-With > Choose Default Program > More Options > Scroll down to 'Look for another app on this PC' > navigate to the location of VSIXInstaller.exe and select it.

That did the trick.




回答2:


I tried @Casey Crookston answer but it is not working on Visual Studio Enterprise 2017 (version 15.3.5)

This is my solution:

  1. Open Visual Studio.
  2. Go to Tool > Extensions and Updates > Choose Online > Search the file you want to install > Click Download.
  3. Close all Visual Studio instances.
  4. The installation should start immediately.


来源:https://stackoverflow.com/questions/33501169/installing-a-visual-studio-extension

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