From 71259842ca3cd1302978461fe8b4e9a9402c1faa Mon Sep 17 00:00:00 2001 From: dotMorten Date: Fri, 20 Sep 2024 13:12:53 -0700 Subject: [PATCH] Fix sample build errors --- src/WinUIExSample/LogWindow.xaml.cs | 7 +++++-- .../PublishProfiles/win-arm64.pubxml | 20 +++++++++++++++++++ .../Properties/PublishProfiles/win-x64.pubxml | 20 +++++++++++++++++++ .../Properties/PublishProfiles/win-x86.pubxml | 20 +++++++++++++++++++ .../PublishProfiles/win10-arm64.pubxml | 20 +++++++++++++++++++ .../PublishProfiles/win10-x64.pubxml | 20 +++++++++++++++++++ .../PublishProfiles/win10-x86.pubxml | 20 +++++++++++++++++++ src/WinUIExSample/WinUIExSample.csproj | 5 +++-- 8 files changed, 128 insertions(+), 4 deletions(-) create mode 100644 src/WinUIExSample/Properties/PublishProfiles/win-arm64.pubxml create mode 100644 src/WinUIExSample/Properties/PublishProfiles/win-x64.pubxml create mode 100644 src/WinUIExSample/Properties/PublishProfiles/win-x86.pubxml create mode 100644 src/WinUIExSample/Properties/PublishProfiles/win10-arm64.pubxml create mode 100644 src/WinUIExSample/Properties/PublishProfiles/win10-x64.pubxml create mode 100644 src/WinUIExSample/Properties/PublishProfiles/win10-x86.pubxml diff --git a/src/WinUIExSample/LogWindow.xaml.cs b/src/WinUIExSample/LogWindow.xaml.cs index b9f4d0a..d921266 100644 --- a/src/WinUIExSample/LogWindow.xaml.cs +++ b/src/WinUIExSample/LogWindow.xaml.cs @@ -1,4 +1,7 @@ -namespace WinUIExSample; +using System.Linq; +using Microsoft.UI.Xaml; + +namespace WinUIExSample { /// /// An empty page that can be used on its own or navigated to within a Frame. @@ -27,4 +30,4 @@ internal void UpdateLog() } } } -} +} \ No newline at end of file diff --git a/src/WinUIExSample/Properties/PublishProfiles/win-arm64.pubxml b/src/WinUIExSample/Properties/PublishProfiles/win-arm64.pubxml new file mode 100644 index 0000000..67adb09 --- /dev/null +++ b/src/WinUIExSample/Properties/PublishProfiles/win-arm64.pubxml @@ -0,0 +1,20 @@ + + + + + FileSystem + arm64 + win-arm64 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + true + False + False + True + + + \ No newline at end of file diff --git a/src/WinUIExSample/Properties/PublishProfiles/win-x64.pubxml b/src/WinUIExSample/Properties/PublishProfiles/win-x64.pubxml new file mode 100644 index 0000000..d73a99a --- /dev/null +++ b/src/WinUIExSample/Properties/PublishProfiles/win-x64.pubxml @@ -0,0 +1,20 @@ + + + + + FileSystem + x64 + win-x64 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + true + False + False + True + + + \ No newline at end of file diff --git a/src/WinUIExSample/Properties/PublishProfiles/win-x86.pubxml b/src/WinUIExSample/Properties/PublishProfiles/win-x86.pubxml new file mode 100644 index 0000000..72508ea --- /dev/null +++ b/src/WinUIExSample/Properties/PublishProfiles/win-x86.pubxml @@ -0,0 +1,20 @@ + + + + + FileSystem + x86 + win-x86 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + true + False + False + True + + + \ No newline at end of file diff --git a/src/WinUIExSample/Properties/PublishProfiles/win10-arm64.pubxml b/src/WinUIExSample/Properties/PublishProfiles/win10-arm64.pubxml new file mode 100644 index 0000000..70f6a2b --- /dev/null +++ b/src/WinUIExSample/Properties/PublishProfiles/win10-arm64.pubxml @@ -0,0 +1,20 @@ + + + + + FileSystem + arm64 + win10-arm64 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + true + False + False + True + + + \ No newline at end of file diff --git a/src/WinUIExSample/Properties/PublishProfiles/win10-x64.pubxml b/src/WinUIExSample/Properties/PublishProfiles/win10-x64.pubxml new file mode 100644 index 0000000..837e565 --- /dev/null +++ b/src/WinUIExSample/Properties/PublishProfiles/win10-x64.pubxml @@ -0,0 +1,20 @@ + + + + + FileSystem + x64 + win10-x64 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + true + False + False + True + + + \ No newline at end of file diff --git a/src/WinUIExSample/Properties/PublishProfiles/win10-x86.pubxml b/src/WinUIExSample/Properties/PublishProfiles/win10-x86.pubxml new file mode 100644 index 0000000..b72b73f --- /dev/null +++ b/src/WinUIExSample/Properties/PublishProfiles/win10-x86.pubxml @@ -0,0 +1,20 @@ + + + + + FileSystem + x86 + win10-x86 + bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\ + true + False + False + True + + + \ No newline at end of file diff --git a/src/WinUIExSample/WinUIExSample.csproj b/src/WinUIExSample/WinUIExSample.csproj index ef92eaa..5b2bd76 100644 --- a/src/WinUIExSample/WinUIExSample.csproj +++ b/src/WinUIExSample/WinUIExSample.csproj @@ -8,7 +8,8 @@ x86;x64;ARM64 win-x86;win-x64;win-arm64 win10-x86;win10-x64;win10-arm64 - win10-$(Platform).pubxml + win-$(Platform).pubxml + win10-$(Platform).pubxml true true Debug;Release;Experimental @@ -16,7 +17,7 @@ 10.0.22621.38 - true + true