安装 Visual Studio 扩展 [英] Installing a Visual Studio Extension

查看:35
本文介绍了安装 Visual Studio 扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始使用 VS2015,但在做一些应该很简单的事情时遇到了麻烦……安装 Side Waffle 扩展.

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

我从他们的网站下载了 .vsix 文件,templatepack.vsix.当我双击它时,我收到一条消息,扩展清单无效."

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."

所以我进入了 Visual Studio 2015,进入了工具 > 扩展和更新,并在在线"下找到了它.但唯一的选择是下载它.没有安装"选项.

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.

我回到下载文件夹,在 templatepack.vsix 上右键单击并打开,然后尝试 Microsoft Visual Studio 版本选择器.我再次收到消息扩展清单无效."

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."

我尝试将 .vsix 文件拖到 Visual Studio 中,但这只是打开了该文件,以便我可以对其进行编辑.它没有安装它.

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.

我没有想法了.

推荐答案

好的,想通了.位于此处:

Ok, figured it out. Located here:

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

有一个应用程序叫:VSIXInstaller.exe

There is an app called: VSIXInstaller.exe

右键单击扩展 > 打开方式 > 选择默认程序 > 更多选项 > 向下滚动到在此 PC 上查找另一个应用程序"> 导航到 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.

成功了.

这篇关于安装 Visual Studio 扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆