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

查看:20
本文介绍了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 Tools 中打开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

VSIXInstaller <path to vsix file>

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

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