VS2017Enterprise版本安装ImageWatch 2017问题解决

按照Andrei给的方法并不一定能成功。

方法如下:

1. Download the extension (ImageWatch.vsix) and open it using WinRAR

2. From inside the bundle, open "extension.vsixmanifest" (using Notepad/Visual Studio, or any XML editor)

3. Edit line number 11 to match: "<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0]" />"

4. Edit line number 15 to match: "<Dependency Id="Microsoft.VisualStudio.MPF.15.0" DisplayName="Visual Studio MPF 15.0" Version="[15.0]" />"

5. Save the file and update it in the archive (select Yes in WinRAR dialog)

6. Install the extension (it will complain that it might not be compatible, but it works)

我的方法是:

1. "extension.vsixmanifest"拷贝出来,然后用记事本打开。

2.修改11行的pro为Community,不管你是哪个版本都需要修改为Community,后面的Version版本修改为15.0。(不需要15.0到16.0)

3.修改15行的所有11为15

但是不管怎么样都无法安装成功。

索性坚持不懈的我,查看了下自己Enterprise的版本,为15.0,又注意到下面这样一行,发现我的编辑器版本不在里面的15.0.2xxxxxx到16.0中间,因为我是15.0。

我就顺手将其版本改成了15.0-16.0。也就是如下所示,终于提示可以安装了。

<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0,16.0)" DisplayName="Visual Studio core editor" />

但是安装了一会又发现,提示安装失败,原因是Component.CoreEditor找不到。

无论怎么尝试,怎么找资料都没有找到原因和解决方法。

万般无奈的我,打开了其中的两个json文件,刚好发现里面都是CoreEditor的版本信息,就将其都改成15.0到16.0.

经历一下午的不断尝试,终于安装成功了。这个过程是相当的痛苦啊。

原文地址:https://www.cnblogs.com/ligiggy/p/12614602.html