Visual Studio不安装.vsix文件 [英] Visual studio does not install .vsix files

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

问题描述

我在计算机上同时安装了VS 2012和VS 2013.问题是,当我下载VSIX文件并使用Visual Studio版本选择器将其打开时,该文件将由VS打开,而不是安装它. VS会以未知二进制格式打开文件.

I've both VS 2012 and VS 2013 installed on my computer. The problem is that when I download an VSIX-File and open it with the Visual Studio version selector the file gets opened by VS but instead of installing it. VS opens the file as if it was an unknown binary format.

所附图像显示了如何打开VSIX文件(每个文件都会出现……这只是一个例子):

The attached image shows how VSIX-files are opened (happens with every file ... this is just an example):

推荐答案

我遇到了同样的问题.只需使用VSIXInstaller安装扩展即可.

I faced the same issue. Just use the VSIXInstaller to install the extension.

您可以在开始-> Microsoft Visual Studio 2012-> Visual Studio工具中打开"VS2012开发人员命令提示符"工具.在控制台上,运行以下命令:

You can open "Developer Command Prompt for VS2012" tool in Start -> Microsoft Visual Studio 2012 -> Visual Studio Tools. On the console, run the below command:

VSIXInstaller< vsix文件的路径>

VSIXInstaller <path to vsix file>

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

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