Skip to content

Conversation

@CalvinAllen
Copy link
Contributor

Summary

  • Add automatic inclusion of .imagemanifest files as ImageManifest items
  • Add automatic inclusion of ContentManifest.json files as Content items with IncludeInVSIX=true
  • Fix duplicate EmbeddedResource error for VSPackage.resx files

Details

Image Manifests (.imagemanifest)

Used by the VS Image Service for custom images. Files are automatically included in the VSIX.

Content Manifests (ContentManifest.json)

Used for VS extension content registration. Files are included in VSIX and copied to output.

VSPackage.resx Fix

Excludes VSPackage.resx patterns from DefaultItemExcludes to prevent duplicate EmbeddedResource items. The SDK adds these with special MergeWithCTO metadata.

Properties

  • EnableDefaultImageManifestItems=false - Disable imagemanifest auto-include
  • EnableDefaultContentManifestItems=false - Disable ContentManifest.json auto-include

Closes #31

The .NET SDK auto-includes *.resx files as EmbeddedResource items.
The VsixSdk also includes VSPackage.resx with special metadata (MergeWithCTO).
This caused duplicate item errors.

Fix by excluding VSPackage.resx patterns from DefaultItemExcludes so the
SDK's explicit includes with MergeWithCTO metadata are the only ones.
@CalvinAllen CalvinAllen force-pushed the feat/sdk/auto-include-imagemanifest branch from 442a435 to dcc380a Compare January 7, 2026 18:30
@CalvinAllen CalvinAllen merged commit 6a6b4d6 into main Jan 7, 2026
3 checks passed
@CalvinAllen CalvinAllen deleted the feat/sdk/auto-include-imagemanifest branch January 7, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

feat(sdk): add auto-include support for imagemanifest and ContentManifest.json

2 participants