diff --git a/.gitignore b/.gitignore index 9491a2f..e91bd32 100644 --- a/.gitignore +++ b/.gitignore @@ -184,7 +184,7 @@ publish/ *.azurePubxml # Note: Comment the next line if you want to checkin your web deploy settings, # but database connection strings (with potential passwords) will be unencrypted -*.pubxml +# *.pubxml *.publishproj # Microsoft Azure Web App publish settings. Comment the next line if you want to diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 31c1174..dd6b0f7 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -14,6 +14,9 @@ public sealed partial class MainWindow : Window public MainWindow() { this.InitializeComponent(); + + ExtendsContentIntoTitleBar = true; + RegisterPrint(); } diff --git a/PrintSample.csproj b/PrintSample.csproj index 6af7cc0..6de786e 100644 --- a/PrintSample.csproj +++ b/PrintSample.csproj @@ -1,12 +1,13 @@ - + WinExe - net6.0-windows10.0.19041.0 + net8.0-windows10.0.19041.0 10.0.17763.0 + 10.0.19041.38 PrintSample app.manifest x86;x64;arm64 - win10-x86;win10-x64;win10-arm64 + win-x86;win-x64;win-arm64 win10-$(Platform).pubxml true true @@ -26,8 +27,7 @@ - - + diff --git a/Properties/PublishProfiles/win-arm64.pubxml b/Properties/PublishProfiles/win-arm64.pubxml new file mode 100644 index 0000000..62e6e15 --- /dev/null +++ b/Properties/PublishProfiles/win-arm64.pubxml @@ -0,0 +1,13 @@ + + + + FileSystem + arm64 + win-arm64 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + True + False + False + True + + diff --git a/Properties/PublishProfiles/win-x64.pubxml b/Properties/PublishProfiles/win-x64.pubxml new file mode 100644 index 0000000..071f57c --- /dev/null +++ b/Properties/PublishProfiles/win-x64.pubxml @@ -0,0 +1,13 @@ + + + + FileSystem + x64 + win-x64 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + True + False + False + True + + diff --git a/Properties/PublishProfiles/win-x86.pubxml b/Properties/PublishProfiles/win-x86.pubxml new file mode 100644 index 0000000..6de977a --- /dev/null +++ b/Properties/PublishProfiles/win-x86.pubxml @@ -0,0 +1,13 @@ + + + + FileSystem + x86 + win-x86 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + True + False + False + True + +