From ac6805e766915b13b85868b42603b9058b7b3a04 Mon Sep 17 00:00:00 2001 From: Lauren Ciha Date: Wed, 24 Jun 2026 10:00:06 -0700 Subject: [PATCH 1/2] Add comment to ProjectFinishedGenerating --- dev/Templates/VSIX/Shared/WizardImplementation.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/Templates/VSIX/Shared/WizardImplementation.cs b/dev/Templates/VSIX/Shared/WizardImplementation.cs index 9efc116f77..c874dff441 100644 --- a/dev/Templates/VSIX/Shared/WizardImplementation.cs +++ b/dev/Templates/VSIX/Shared/WizardImplementation.cs @@ -75,6 +75,8 @@ public void RunStarted(object automationObject, Dictionary repla } } + // This event is called when a project has finished generating. We use it to + // trigger NuGet package installation for VC++ projects (C++ templates) public void ProjectFinishedGenerating(Project project) { ThreadHelper.ThrowIfNotOnUIThread(); From 0f6deeb052f04350006709cdd5aecacb06e73eed Mon Sep 17 00:00:00 2001 From: Lauren Ciha Date: Thu, 9 Jul 2026 14:38:47 -0700 Subject: [PATCH 2/2] Remove wizard strings from Designer files --- .../Cpp/Common/VSPackage.Designer.cs | 2 +- .../Extension/Cs/Common/VSPackage.Designer.cs | 128 ++++-------------- 2 files changed, 29 insertions(+), 101 deletions(-) diff --git a/dev/Templates/VSIX/Extension/Cpp/Common/VSPackage.Designer.cs b/dev/Templates/VSIX/Extension/Cpp/Common/VSPackage.Designer.cs index 751ef7436c..3acea145ba 100644 --- a/dev/Templates/VSIX/Extension/Cpp/Common/VSPackage.Designer.cs +++ b/dev/Templates/VSIX/Extension/Cpp/Common/VSPackage.Designer.cs @@ -22,7 +22,7 @@ namespace WindowsAppSDK.Cpp.Extension.Dev17 { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "18.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class VSPackage { diff --git a/dev/Templates/VSIX/Extension/Cs/Common/VSPackage.Designer.cs b/dev/Templates/VSIX/Extension/Cs/Common/VSPackage.Designer.cs index 545d4e3a50..1b8fae5241 100644 --- a/dev/Templates/VSIX/Extension/Cs/Common/VSPackage.Designer.cs +++ b/dev/Templates/VSIX/Extension/Cs/Common/VSPackage.Designer.cs @@ -22,7 +22,7 @@ namespace WindowsAppSDK.Cs.Extension.Dev17 { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "18.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class VSPackage { @@ -369,105 +369,6 @@ internal static string _1043 { } } - /// - /// Looks up a localized string similar to Installing NuGet packages into project.... - /// - internal static string _1044 { - get { - return ResourceManager.GetString("1044", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Operation in progress.... - /// - internal static string _1045 { - get { - return ResourceManager.GetString("1045", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Missing Package Reference(s). - /// - internal static string _1046 { - get { - return ResourceManager.GetString("1046", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unable to add references to the following packages for {0}: {1}. Please add package references before building.. - /// - internal static string _1047 { - get { - return ResourceManager.GetString("1047", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to [{0}] Unable to add references to the following packages: {1}. This is an environment error. Please add package references before building the project.. - /// - internal static string _1048 { - get { - return ResourceManager.GetString("1048", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Manage NuGet Packages. - /// - internal static string _1049 { - get { - return ResourceManager.GetString("1049", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to See error details. - /// - internal static string _1050 { - get { - return ResourceManager.GetString("1050", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Missing Package References for {0}:. - /// - internal static string _1051 { - get { - return ResourceManager.GetString("1051", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please manually add package references before building.. - /// - internal static string _1052 { - get { - return ResourceManager.GetString("1052", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to General. - /// - internal static string _1053 { - get { - return ResourceManager.GetString("1053", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No output information available.. - /// - internal static string _1054 { - get { - return ResourceManager.GetString("1054", resourceCulture); - } - } - /// /// Looks up a localized string similar to WinUI TabView App. /// @@ -521,5 +422,32 @@ internal static string _1061 { return ResourceManager.GetString("1061", resourceCulture); } } + + /// + /// Looks up a localized string similar to WinUI MVVM App. + /// + internal static string _1062 { + get { + return ResourceManager.GetString("1062", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to [Experimental] WinUI MVVM App. + /// + internal static string _1063 { + get { + return ResourceManager.GetString("1063", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A project template for creating a WinUI app structured with the MVVM pattern using the CommunityToolkit.Mvvm package.. + /// + internal static string _1064 { + get { + return ResourceManager.GetString("1064", resourceCulture); + } + } } }