I'm developing a visual studio 2022 extension. All is working as expected (the vsix is generated and it installs and the icon is shown) except that the Preview Image is not shown in Extensions Manager. The Icon of the extension is showing fine but the Preview Image is not.
This is shown in extensions manager
In the file source.extension.vsixmanifest i have the corresponding tag PreviewImage and the image exists in the Resources directory as well as the Icon image. Both have Content as compilation action and copy to ouput directory of both images is set to Allways:
<?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>
...
<Icon>Resources\ExtractCommandIcon.png</Icon>
<PreviewImage>Resources\Preview.png</PreviewImage>
</Metadata>
...
</PackageManifest>
The image has 200x200 pixels as stated in the documentation VSIX schema
I have tried to change the compilation action of the PreviewImage from Content to Resource and EmbeddedResource without success.
This should be a issue of VS2022, I tested this on my side and also encounter this issue.
You can report this issue to Microsoft Office via this link:
https://developercommunity.visualstudio.com/VisualStudio/report