更新时间:2023-01-19 11:16:45
VSIX只是一个zip归档文件.解压缩它,找到文件extension.vsixmanifest
.这是一个XML文件,将其打开.找到SupportedProducts
部分.它应该如下所示:
VSIX is just a zip-archive. Unpack it, locate the file extension.vsixmanifest
. This is an XML file, open it. Locate the section SupportedProducts
. It should look like the following:
<SupportedProducts>
<VisualStudio Version="10.0">
<Edition>Ultimate</Edition>
<Edition>Premium</Edition>
<Edition>Pro</Edition>
</VisualStudio>
</SupportedProducts>
复制并粘贴VisualStudio
部分,并将粘贴的片段上的Version
属性更新为11.0
.
Copy-paste the VisualStudio
section and update the Version
attribute on the pasted fragment to 11.0
.
将内容打包回zip归档文件中.确保存档具有VSIX扩展名.完成了.
Pack the contents back into a zip-archive. Make sure the archive have the VSIX extension. You're done.