【发布时间】:2015-06-27 00:33:35
【问题描述】:
我编写了一个 Visual Studio 扩展,并正在 Visual Studio 库中对其进行更新。上传的时候报这个错误:
您只能为 Visual Studio Express SKU 上传模板 VSIX 文件。
问题的根源是什么,如何解决?
我的清单:
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="dehungarian.Vsix..c7f6148f-43a7-4787-ab00-5f4b8a8352b9" Version="1.0.2" Language="en-US" Publisher="Phil Campbell"/>
<DisplayName>dehungarian.Vsix</DisplayName>
<Description xml:space="preserve">foo</Description>
<MoreInfo>https://github.com/philoushka/dehungarian</MoreInfo>
<License>EULA.txt</License>
<Icon>icon.png</Icon>
<PreviewImage>foo.png</PreviewImage>
<Tags>foo</Tags>
</Metadata>
<Installation>
<InstallationTarget Version="[14.0,15.0)" Id="Microsoft.VisualStudio.Premium" />
<InstallationTarget Version="[14.0,15.0)" Id="Microsoft.VisualStudio.Ultimate" />
<InstallationTarget Version="[14.0,15.0]" Id="Microsoft.VisualStudio.Pro" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
</Dependencies>
<Assets>
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="dehungarian" Path="|dehungarian|"/>
<Asset Type="Microsoft.VisualStudio.Analyzer" d:Source="Project" d:ProjectName="dehungarian" Path="|dehungarian|"/>
</Assets>
</PackageManifest>
【问题讨论】:
标签: visual-studio-extensions visual-studio-gallery