Skip to content

Conversation

@CalvinAllen
Copy link
Contributor

@CalvinAllen CalvinAllen commented Jan 6, 2026

Summary

  • Add MSBuild-based support for including VS project and item templates in VSIX packages
  • Bypass the broken VSIX Manifest Designer which cannot enumerate SDK-style projects
  • New item types: VsixProjectTemplate, VsixItemTemplate, VsixTemplateZip, VsixTemplateReference
  • Auto-discovery of templates in ProjectTemplates/ and ItemTemplates/ folders
  • Build warnings for missing manifest Content entries (VSIXSDK010-014)
  • Documentation in docs/templates.md
  • Sample extension demonstrating template support (SampleExtensionWithTemplates)

Test plan

  • Build SDK package and verify new files are included
  • Create sample extension with ProjectTemplates/ folder containing a .vstemplate
  • Verify templates are auto-discovered and zipped during build
  • Verify VSIX contains template files in correct location
  • Test VsixTemplateZip with pre-built zip file
  • Test VsixTemplateReference with cross-project template reference
  • Verify build warnings appear when manifest Content entries are missing

Closes #21
Closes #22
Closes #23

@CalvinAllen
Copy link
Contributor Author

going to hold on this until I can get some e2e tests created

Add MSBuild-based support for including VS project and item templates
in VSIX packages, bypassing the broken VSIX Manifest Designer.

New item types:
- VsixProjectTemplate: folder-based project templates
- VsixItemTemplate: folder-based item templates
- VsixTemplateZip: pre-built template zip files
- VsixTemplateReference: reference templates from another project

Features:
- Auto-discovery of templates in ProjectTemplates/ and ItemTemplates/
- Auto-zip folder-based templates during build
- Hook into VSSDK's GetVsixSourceItems for VSIX inclusion
- Build warnings for missing manifest Content entries (VSIXSDK010-014)

Includes documentation in docs/templates.md.

Closes #21
Closes #22
- Add sample extension demonstrating VS template support
- Include project template (SampleProjectTemplate)
- Include item template (SampleItemTemplate)
- Fix VSSDK1079 error by removing invalid InstallRoot metadata

Closes #23
@CalvinAllen CalvinAllen force-pushed the feat/sdk/template-support branch from b578b46 to d4f6009 Compare January 7, 2026 18:33
@CalvinAllen CalvinAllen merged commit be2dde3 into main Jan 7, 2026
3 checks passed
@CalvinAllen CalvinAllen deleted the feat/sdk/template-support branch January 7, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants