diff --git a/Build-Toolkit-Components.ps1 b/Build-Toolkit-Components.ps1 index 5b3bd3cc..4b9d0f8a 100644 --- a/Build-Toolkit-Components.ps1 +++ b/Build-Toolkit-Components.ps1 @@ -131,13 +131,13 @@ function Invoke-MSBuildWithBinlog { # Ensure output is relative to $pwd, not to the csproj of each component. $NupkgOutput = (Resolve-Path $NupkgOutput).Path - $msbuildArgs += "-t:Clean,Build,Pack" + $msbuildArgs += "-t:Build,Pack" $msbuildArgs += "/p:PackageOutputPath=$NupkgOutput" $msbuildArgs += "/p:DateForVersion=$DateForVersion" $msbuildArgs += "/p:PreviewVersion=$PreviewVersion" } else { - $msbuildArgs += "-t:Clean,Build" + $msbuildArgs += "-t:Build" } # Add additional properties to the msbuild arguments diff --git a/Build-Toolkit-Gallery.ps1 b/Build-Toolkit-Gallery.ps1 index a6f96cb6..b6fc3668 100644 --- a/Build-Toolkit-Gallery.ps1 +++ b/Build-Toolkit-Gallery.ps1 @@ -51,7 +51,7 @@ Param ( [string[]]$MultiTargets = @('uwp', 'wasdk', 'wasm'), # default settings [ValidateSet('wasm', 'uwp', 'wasdk', 'wpf', 'linuxgtk', 'macos', 'ios', 'android', 'netstandard')] - [string[]]$ExcludeMultiTargets = @() # default settings + [string[]]$ExcludeMultiTargets = @(), # default settings [ValidateSet('all', 'Uwp', 'Wasdk', 'Wasm', 'Tests.Uwp', 'Tests.Wasdk')] [string[]]$Heads = @('Uwp', 'Wasdk', 'Wasm'), diff --git a/CommunityToolkit.App.Shared/Converters/StringToUriConverter.cs b/CommunityToolkit.App.Shared/Converters/StringToUriConverter.cs index d9aa0f57..5c148d41 100644 --- a/CommunityToolkit.App.Shared/Converters/StringToUriConverter.cs +++ b/CommunityToolkit.App.Shared/Converters/StringToUriConverter.cs @@ -6,7 +6,7 @@ namespace CommunityToolkit.App.Shared.Converters; -public class StringToUriConverter : IValueConverter +public partial class StringToUriConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, string language) { diff --git a/CommunityToolkit.App.Shared/DocOrSampleTemplateSelector.cs b/CommunityToolkit.App.Shared/DocOrSampleTemplateSelector.cs index 530ed2bb..bd6d80ad 100644 --- a/CommunityToolkit.App.Shared/DocOrSampleTemplateSelector.cs +++ b/CommunityToolkit.App.Shared/DocOrSampleTemplateSelector.cs @@ -14,7 +14,7 @@ namespace CommunityToolkit.App.Shared; -public class DocOrSampleTemplateSelector : DataTemplateSelector +public partial class DocOrSampleTemplateSelector : DataTemplateSelector { public DataTemplate? Document { get; set; } public DataTemplate? Sample { get; set; } diff --git a/CommunityToolkit.App.Shared/Renderers/GeneratedSampleOptionTemplateSelector.cs b/CommunityToolkit.App.Shared/Renderers/GeneratedSampleOptionTemplateSelector.cs index 7c55f1ba..c42e84d0 100644 --- a/CommunityToolkit.App.Shared/Renderers/GeneratedSampleOptionTemplateSelector.cs +++ b/CommunityToolkit.App.Shared/Renderers/GeneratedSampleOptionTemplateSelector.cs @@ -9,7 +9,7 @@ namespace CommunityToolkit.App.Shared.Renderers; /// /// Selects a sample option template for the provided . /// -internal class GeneratedSampleOptionTemplateSelector : DataTemplateSelector +internal partial class GeneratedSampleOptionTemplateSelector : DataTemplateSelector { public DataTemplate? BoolOptionTemplate { get; set; } diff --git a/MultiTarget/EnabledTargetFrameworks.props b/MultiTarget/EnabledTargetFrameworks.props index 4fd9da63..ee92d5c9 100644 --- a/MultiTarget/EnabledTargetFrameworks.props +++ b/MultiTarget/EnabledTargetFrameworks.props @@ -2,10 +2,14 @@ uap10.0.17763 net8.0-windows10.0.22621.0;net7.0-windows10.0.22621.0;net6.0-windows10.0.22621.0; - + net8.0 net8.0 net8.0 + + + + net8.0 diff --git a/MultiTarget/PackageReferences/WinAppSdk.props b/MultiTarget/PackageReferences/WinAppSdk.props index 20463cae..a446d951 100644 --- a/MultiTarget/PackageReferences/WinAppSdk.props +++ b/MultiTarget/PackageReferences/WinAppSdk.props @@ -1,6 +1,10 @@ - + + + + + diff --git a/MultiTarget/WinUI.Extra.props b/MultiTarget/WinUI.Extra.props index ba824ca0..9858eeb6 100644 --- a/MultiTarget/WinUI.Extra.props +++ b/MultiTarget/WinUI.Extra.props @@ -26,7 +26,7 @@ win-x86;win-x64;win-arm64 win10-x86;win10-x64;win10-arm64 - win-x86;win-x64;win-arm64 + 10.0.22621.37-preview @@ -52,4 +52,23 @@ c:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\Extensions\Xamarin.VisualStudio\Xamarin.Mac.dll + + + + + + + + + + + diff --git a/ProjectHeads/App.Head.WinAppSdk.props b/ProjectHeads/App.Head.WinAppSdk.props index cd101a86..d51b89fa 100644 --- a/ProjectHeads/App.Head.WinAppSdk.props +++ b/ProjectHeads/App.Head.WinAppSdk.props @@ -3,6 +3,10 @@ WinUI + + true + + diff --git a/ProjectHeads/Head.WinAppSdk.props b/ProjectHeads/Head.WinAppSdk.props index 74b8498a..eb8d7476 100644 --- a/ProjectHeads/Head.WinAppSdk.props +++ b/ProjectHeads/Head.WinAppSdk.props @@ -14,9 +14,9 @@ - - - false + + win-$(Platform) + win10-$(Platform)