diff --git a/Templates/VisualStudio2022/ProjectTemplates/Multiplatform.NetFramework/UWPXaml/App.xaml.cs b/Templates/VisualStudio2022/ProjectTemplates/Multiplatform.NetFramework/UWPXaml/App.xaml.cs index 911c4314f..5f33ebec9 100644 --- a/Templates/VisualStudio2022/ProjectTemplates/Multiplatform.NetFramework/UWPXaml/App.xaml.cs +++ b/Templates/VisualStudio2022/ProjectTemplates/Multiplatform.NetFramework/UWPXaml/App.xaml.cs @@ -83,7 +83,7 @@ protected override void OnLaunched(LaunchActivatedEventArgs e) // Place the frame in the current Window Window.Current.Content = rootFrame; } - + if (e.PrelaunchActivated == false) { if (rootFrame.Content == null) diff --git a/Templates/VisualStudio2022/ProjectTemplates/Multiplatform.NetFramework/UWPXaml/Game.vstemplate b/Templates/VisualStudio2022/ProjectTemplates/Multiplatform.NetFramework/UWPXaml/Game.vstemplate index ad44eefd6..1b64bd8c4 100644 --- a/Templates/VisualStudio2022/ProjectTemplates/Multiplatform.NetFramework/UWPXaml/Game.vstemplate +++ b/Templates/VisualStudio2022/ProjectTemplates/Multiplatform.NetFramework/UWPXaml/Game.vstemplate @@ -21,14 +21,14 @@ - + App.xaml App.xaml.cs MainPage.xaml MainPage.xaml.cs Package.appxmanifest Application_TemporaryKey.pfx - + LockScreenLogo.scale-200.png SplashScreen.scale-200.png @@ -38,12 +38,12 @@ StoreLogo.png Wide310x150Logo.scale-200.png - + AssemblyInfo.cs Default.rd.xml - + diff --git a/Templates/VisualStudio2022/ProjectTemplates/UWPXaml.UAP/App.xaml.cs b/Templates/VisualStudio2022/ProjectTemplates/UWPXaml.UAP/App.xaml.cs index d54319587..a6025432d 100644 --- a/Templates/VisualStudio2022/ProjectTemplates/UWPXaml.UAP/App.xaml.cs +++ b/Templates/VisualStudio2022/ProjectTemplates/UWPXaml.UAP/App.xaml.cs @@ -1,19 +1,9 @@ using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; -using Windows.Foundation; -using Windows.Foundation.Collections; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Controls.Primitives; -using Windows.UI.Xaml.Data; -using Windows.UI.Xaml.Input; -using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Navigation; namespace $safeprojectname$ diff --git a/Templates/VisualStudio2022/ProjectTemplates/UWPXaml.UAP/Game.vstemplate b/Templates/VisualStudio2022/ProjectTemplates/UWPXaml.UAP/Game.vstemplate index fab6bc393..990505780 100644 --- a/Templates/VisualStudio2022/ProjectTemplates/UWPXaml.UAP/Game.vstemplate +++ b/Templates/VisualStudio2022/ProjectTemplates/UWPXaml.UAP/Game.vstemplate @@ -29,7 +29,7 @@ - + App.xaml App.xaml.cs MainPage.xaml @@ -51,12 +51,12 @@ StoreLogo.png Wide310x150Logo.scale-200.png - + AssemblyInfo.cs Default.rd.xml - + diff --git a/Templates/VisualStudio2022/ProjectTemplates/UWPXaml.UAP/MainPage.xaml.cs b/Templates/VisualStudio2022/ProjectTemplates/UWPXaml.UAP/MainPage.xaml.cs index 742351ad5..c7e90fcf7 100644 --- a/Templates/VisualStudio2022/ProjectTemplates/UWPXaml.UAP/MainPage.xaml.cs +++ b/Templates/VisualStudio2022/ProjectTemplates/UWPXaml.UAP/MainPage.xaml.cs @@ -1,17 +1,6 @@ using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Runtime.InteropServices.WindowsRuntime; -using Windows.Foundation; -using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Controls.Primitives; -using Windows.UI.Xaml.Data; -using Windows.UI.Xaml.Input; -using Windows.UI.Xaml.Media; -using Windows.UI.Xaml.Navigation; // The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409