tfs-cli: Extension package is malformed/corrupted

I’m using tfx extension publish to publish my extension to Azure DevOps marketplace. Publishing with tfx-cli 0.6.4 works fine. With 0.7.4 and above I’m getting an unclear error message: error: Extension package is malformed/corrupted: image

I couldn’t find any problems in my extension. Without any logs information I can’t even know where to start looking. How can I get more information about this error?

I’m using MacOS.

Thanks.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 6
  • Comments: 19 (4 by maintainers)

Most upvoted comments

Hello, wanted to check on this as it will be blocking us pretty soon.

Facing the same issue. Is there a workaround, other than reducing size?

I am facing the same issue as well. With the documentation clearly stating that we are allowed to be 50MB or less and marketplace web UI accepting the package with no issues, I think this should be fixed. This might be needed by various release pipelines as well.

How big is the vsix file? I’ve had this problem when my package grew beyond 19MB. tfx-cli saw this same error, but website would still accept the extension. This link led me to reproduce and prove the 19MB limit: https://developercommunity.visualstudio.com/content/problem/668297/size-limit-to-publish-azure-devops-pipelines-custo.html

I am having the same issue, I noticed the package created is able to be published through the UI. Any updates?