0
執行VSTS開發人員工具構建任務時出現以下錯誤,我已包含擴展清單,請幫助我解決此問題。VSTS開發人員工具構建任務錯誤:根據打開包裝約定規範中定義的每個規則,部分URI無效
error: Failed Request: Bad Request(400) - Part URI is not valid per rules defined in the Open Packaging Conventions specification. tfx failed with error: Error: C:\agent_work_tools\tfx.cmd failed with return code: 4294967295 –
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011">
<Metadata>
<Identity Id="91abfa6b-b004-4d4c-9c70-xxxxxxx" Version="1.0" Language="en-US" Publisher="bandara" />
<DisplayName>MyTestExt</DisplayName>
<Description xml:space="preserve">VS Extension</Description>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[14.0]" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" Version="[4.5,)" />
<Dependency Id="Microsoft.VisualStudio.MPF.14.0" DisplayName="Visual Studio MPF 14.0" Version="[14.0]" />
</Dependencies>
<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" Path="MyTestExt.pkgdef" />
</Assets>
</PackageManifest>
ahh我很抱歉,由於所有的vs-team-services和vsts標籤問題,我之前對擴展類型感到困惑。目前尚無任何發佈到舊的Visual Studio Gallery的任務。儘管我希望很快能夠支持新的市場。現在,您仍然需要通過https://visualstudiogallery.msdn.microsoft.com/ – jessehouwing
發佈清單文件是JSON文件。我更新了我的答案,你可以檢查它。 –