Extensions

Fixing content type error

When uploading a VSIX extension to the VS Marketplace, you receive the following error:

A token is not valid. Refer to RFC 2616 for correct grammar of content types.

You'll need to fix up an error in a file packed in the extension:

unzip -p vss-extension.vsix 'Content_Types.xml' | sed 's/arm64):	//' >'[Content_Types].xml'
zip vss-extension.vsix '[Content_Types].xml'
rm '[Content_Types].xml'