microsoft / vsmarketplace

Customer feedback and issue tracker repository for Visual Studio Marketplace
MIT License
40 stars 10 forks source link

Unable to publish extension with vsixpublisher #331

Closed timheuer closed 2 years ago

timheuer commented 2 years ago

Describe the bug Trying to publish my extension and the vsixpublisher generates exception:

An error occurred while communicating with the marketplace: categories: Extension type cannot be multiple.

See https://github.com/timheuer/AddActionsWorkflow/runs/5194535197?check_suite_focus=true#step:6:16

repo has manifest being used also

nikhgup commented 2 years ago

@timheuer Categories mentioned here https://github.com/timheuer/AddActionsWorkflow/blob/main/vs-publish.json are not valid. we allow only one root category. root category can be "Controls", "templates", "tools". category mentioned by you "build" and "source control" come under 'Tools' while "workflow" comes under 'Templates'. please remove "workflow" from category and you will be able to publish the extension.

timheuer commented 2 years ago

@nikhgup I removed the category (by the way this is not documented and schemastore.org manifest is invalid then)

But still fails now with no helpful error message: https://github.com/timheuer/AddActionsWorkflow/runs/5202694162?check_suite_focus=true#step:6:17

timheuer commented 2 years ago

Hmm, this issue now looks like: https://github.com/microsoft/VSExtensibility/issues/70

nikhgup commented 2 years ago

@timheuer I can see from logs your extension is published successfully. https://marketplace.visualstudio.com/items?itemName=TimHeuer.AddActionsWorkflow&ssr=false#overview. Currently i don't see any other error except the earlier one with categories. Please let me know if we can close this issue?

timheuer commented 2 years ago

I think we can close this as the new bug appears to be related to VS2022 and the vsixpublisher.