From 90b21da33c17e55d4d8b4757f13126448fac5b18 Mon Sep 17 00:00:00 2001 From: "Calvin A. Allen" Date: Wed, 7 Jan 2026 13:47:22 -0500 Subject: [PATCH] fix(sdk): exclude template folders from default compilation Template files contain VS template placeholders ($safeprojectname$, etc.) that are not valid C# and should not be compiled as part of the extension. This adds ProjectTemplates/** and ItemTemplates/** to DefaultItemExcludes. --- src/CodingWithCalvin.VsixSdk/Sdk/Sdk.Vsix.Templates.props | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/CodingWithCalvin.VsixSdk/Sdk/Sdk.Vsix.Templates.props b/src/CodingWithCalvin.VsixSdk/Sdk/Sdk.Vsix.Templates.props index 231eb4c..eaff8a6 100644 --- a/src/CodingWithCalvin.VsixSdk/Sdk/Sdk.Vsix.Templates.props +++ b/src/CodingWithCalvin.VsixSdk/Sdk/Sdk.Vsix.Templates.props @@ -16,6 +16,13 @@ ProjectTemplates ItemTemplates + + + $(DefaultItemExcludes);$(VsixProjectTemplatesFolder)\**;$(VsixItemTemplatesFolder)\**