From e22aba250a0dd8447e4bbc4d58e16c2029d0c8c1 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Mon, 30 Nov 2026 22:08:40 -0800 Subject: [PATCH 1/3] Bump tooling submodule to remove-uno-winui2 branch (PR #323) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- tooling | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling b/tooling index b72ebfdb..5668ff29 160000 --- a/tooling +++ b/tooling @@ -1 +1 @@ -Subproject commit b72ebfdbe3048b8325edf5f13320522de8dffe0c +Subproject commit 5668ff2902fb91c780d30ff215202eead21d8593 From 00e67c75dedafd64dbbd0c253d6125224cdaa824 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Mon, 30 Nov 2026 22:20:10 -0800 Subject: [PATCH 2/3] Remove Uno on WinUI 2 (Uno.UI) support Uno is now only supported with WinUI 3 (Uno.WinUI), following the tooling change. - CI: explicit build matrix (uwp for WinUI 2; wasdk and all Uno targets for WinUI 3), simplified packaging and generate steps for .slnx - Remove WinUI 2 / Uno blocks from Dependencies.props and update docs - Remove Uno WinUI 2 conditions in source - Remove SlnGen leftovers (dotnet tool, solution items), use .slnx Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .config/dotnet-tools.json | 6 --- .devcontainer/default.code-workspace | 2 +- .github/workflows/build.yml | 54 +++++++++---------- .gitignore | 5 +- .vscode/settings.json | 2 +- .vscode/tasks.json | 2 +- Directory.Build.targets | 10 +--- ReadMe.md | 7 +-- .../Animations/samples/Dependencies.props | 9 +--- components/Animations/src/Dependencies.props | 9 +--- components/Animations/src/ReadMe.md | 2 +- .../Behaviors/samples/Dependencies.props | 9 +--- components/Behaviors/src/Dependencies.props | 9 +--- components/Behaviors/src/FocusBehavior.cs | 4 +- components/Behaviors/src/ReadMe.md | 2 +- .../CameraPreview/samples/Dependencies.props | 9 +--- .../CameraPreview/src/Dependencies.props | 9 +--- components/CameraPreview/src/ReadMe.md | 2 +- .../Collections/samples/Dependencies.props | 9 +--- components/Collections/src/Dependencies.props | 9 +--- components/Collections/src/ReadMe.md | 2 +- .../ColorPicker/samples/Dependencies.props | 9 +--- components/ColorPicker/src/ColorPicker.cs | 4 +- components/ColorPicker/src/Dependencies.props | 9 +--- .../Converters/samples/Dependencies.props | 9 +--- .../src/ColorToDisplayNameConverter.cs | 2 - components/Converters/src/Dependencies.props | 9 +--- components/Converters/src/ReadMe.md | 2 +- .../ResourceNameToResourceStringConverter.cs | 2 +- .../DeveloperTools/samples/Dependencies.props | 9 +--- .../DeveloperTools/src/Dependencies.props | 9 +--- components/DeveloperTools/src/ReadMe.md | 2 +- .../Extensions/samples/Dependencies.props | 9 +--- components/Extensions/src/Dependencies.props | 9 +--- components/Extensions/src/ReadMe.md | 2 +- .../src/Text/StringExtensions.Localization.cs | 2 +- .../samples/Dependencies.props | 9 +--- .../HeaderedControls/src/Dependencies.props | 9 +--- components/HeaderedControls/src/ReadMe.md | 2 +- components/Helpers/samples/Dependencies.props | 9 +--- components/Helpers/src/Dependencies.props | 9 +--- components/Helpers/src/ReadMe.md | 2 +- .../ImageCropper/samples/Dependencies.props | 9 +--- .../ImageCropper/src/Dependencies.props | 9 +--- components/ImageCropper/src/ReadMe.md | 2 +- .../samples/Dependencies.props | 9 +--- .../src/Dependencies.props | 9 +--- .../LayoutTransformControl/src/ReadMe.md | 2 +- components/Media/samples/Dependencies.props | 8 +-- components/Media/src/Dependencies.props | 2 +- components/Media/src/ReadMe.md | 2 +- .../samples/Dependencies.props | 9 +--- .../MetadataControl/src/Dependencies.props | 9 +--- components/MetadataControl/src/ReadMe.md | 2 +- .../Primitives/samples/Dependencies.props | 9 +--- components/Primitives/src/Dependencies.props | 9 +--- components/Primitives/src/ReadMe.md | 2 +- .../RadialGauge/samples/Dependencies.props | 9 +--- components/RadialGauge/src/Dependencies.props | 9 +--- components/RadialGauge/src/ReadMe.md | 2 +- .../RangeSelector/samples/Dependencies.props | 9 +--- .../RangeSelector/src/Dependencies.props | 9 +--- components/RangeSelector/src/ReadMe.md | 2 +- .../RichSuggestBox/samples/Dependencies.props | 9 +--- .../RichSuggestBox/src/Dependencies.props | 9 +--- components/RichSuggestBox/src/ReadMe.md | 2 +- .../Segmented/samples/Dependencies.props | 9 +--- components/Segmented/src/Dependencies.props | 9 +--- components/Segmented/src/ReadMe.md | 2 +- .../samples/Dependencies.props | 9 +--- .../SettingsControls/src/Dependencies.props | 9 +--- components/SettingsControls/src/ReadMe.md | 2 +- components/Sizers/samples/Dependencies.props | 9 +--- components/Sizers/src/Dependencies.props | 9 +--- components/Sizers/src/ReadMe.md | 2 +- .../samples/Dependencies.props | 9 +--- .../TabbedCommandBar/src/Dependencies.props | 9 +--- .../samples/Dependencies.props | 9 +--- .../TokenizingTextBox/src/Dependencies.props | 9 +--- components/TokenizingTextBox/src/ReadMe.md | 2 +- .../Triggers/samples/Dependencies.props | 9 +--- components/Triggers/src/Dependencies.props | 9 +--- components/Triggers/src/ReadMe.md | 2 +- 83 files changed, 159 insertions(+), 411 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 17e8c9df..7ccd6eb7 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -13,12 +13,6 @@ "commands": [ "xstyler" ] - }, - "microsoft.visualstudio.slngen.tool": { - "version": "12.0.32", - "commands": [ - "slngen" - ] } } } diff --git a/.devcontainer/default.code-workspace b/.devcontainer/default.code-workspace index 9a1a0c53..989ecdcc 100644 --- a/.devcontainer/default.code-workspace +++ b/.devcontainer/default.code-workspace @@ -5,7 +5,7 @@ } ], "settings": { - "omnisharp.defaultLaunchSolution": "CommunityToolkit.AllComponents.sln", + "omnisharp.defaultLaunchSolution": "CommunityToolkit.AllComponents.slnx", "omnisharp.disableMSBuildDiagnosticWarning": true, "omnisharp.enableRoslynAnalyzers": true, "omnisharp.useGlobalMono": "never", diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d116593..2d1613f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,6 @@ env: MSBUILD_VERBOSITY: normal #COREHOST_TRACE: 1 COREHOST_TRACEFILE: corehosttrace.log - MULTI_TARGET_DIRECTORY: tooling/MultiTarget HEADS_DIRECTORY: tooling/ProjectHeads IS_MAIN: ${{ github.ref == 'refs/heads/main' }} IS_PR: ${{ startsWith(github.ref, 'refs/pull/') }} @@ -75,7 +74,7 @@ jobs: - name: Run sample index tests run: dotnet test tools/SampleIndexExporter.Tests - # Build both Uno.UI/WinUI2/UWP and Uno.WinUI/WinUI3/WindowsAppSDK versions of our packages using a matrix + # Build both the UWP/WinUI2 and the WindowsAppSDK + Uno.WinUI/WinUI3 versions of our packages using a matrix build: needs: [Xaml-Style-Check] runs-on: windows-2025-large @@ -87,15 +86,25 @@ jobs: strategy: fail-fast: false # prevent one matrix pipeline from being cancelled if one fails, we want them all to run to completion. matrix: - winui: [2, 3] - multitarget: ['uwp', 'wasdk', 'wasm', 'wpf', 'linuxgtk', 'macos', 'ios', 'android'] - exclude: - # WinUI 2 not supported on wasdk + include: + # WinUI 2 is only supported on uwp - winui: 2 + multitarget: uwp + # WinUI 3 is supported on wasdk and all Uno targets + - winui: 3 multitarget: wasdk - # WinUI 3 not supported on uwp - winui: 3 - multitarget: uwp + multitarget: wasm + - winui: 3 + multitarget: wpf + - winui: 3 + multitarget: linuxgtk + - winui: 3 + multitarget: macos + - winui: 3 + multitarget: ios + - winui: 3 + multitarget: android # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -161,12 +170,12 @@ jobs: - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v2 with: - vs-version: '[17.9,)' + vs-version: '[17.13,)' # Generate full solution with all projects (sample gallery heads, components, tests) - name: Generate solution with ${{ matrix.multitarget }} gallery, components and tests working-directory: ./ - run: powershell -version 5.1 -command "./tooling/GenerateAllSolution.ps1 -MultiTargets ${{ matrix.multitarget }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && ' -UseDiagnostics' || '' }} -WinUIMajorVersion ${{ matrix.winui }}" -ErrorAction Stop + run: powershell -version 5.1 -command "./tooling/GenerateAllSolution.ps1 -MultiTargets ${{ matrix.multitarget }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && ' -UseDiagnostics' || '' }} -WinUIMajorVersion ${{ matrix.winui }} -Launch 0" -ErrorAction Stop # Build solution - name: MSBuild @@ -176,7 +185,7 @@ jobs: /m ${{ env.ENABLE_DIAGNOSTICS == 'true' && '/bl' || '' }} /v:${{ env.MSBUILD_VERBOSITY }} - CommunityToolkit.AllComponents.sln + CommunityToolkit.AllComponents.slnx # Run tests - name: Setup VSTest Path @@ -302,21 +311,11 @@ jobs: - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v2 with: - vs-version: '[17.9,)' - - - name: Define excluded MultiTargets (WinUI 2) - if: ${{ matrix.winui == '2' }} - run: | - echo "EXCLUDED_MULTITARGETS=wasdk" >> $env:GITHUB_ENV + vs-version: '[17.13,)' - - name: Define excluded MultiTargets (WinUI 3) - if: ${{ matrix.winui == '3' }} - run: | - echo "EXCLUDED_MULTITARGETS=uwp" >> $env:GITHUB_ENV - - # Build and pack component nupkg + # Build and pack component nupkg (WinUI 2 only builds uwp, WinUI 3 builds wasdk and all Uno targets) - name: Build and pack component packages - run: ./tooling/Build-Toolkit-Components.ps1 -MultiTargets all -ExcludeMultiTargets ${{ env.EXCLUDED_MULTITARGETS }} -WinUIMajorVersion ${{ matrix.winui }} -DateForVersion ${{ env.VERSION_DATE }} ${{ env.VERSION_PROPERTY != '' && format('-PreviewVersion "{0}"', env.VERSION_PROPERTY) || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-EnableBinlogs' || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-Verbose' || '' }} -BinlogOutput ./ -NupkgOutput ./ -Release + run: ./tooling/Build-Toolkit-Components.ps1 -MultiTargets all -WinUIMajorVersion ${{ matrix.winui }} -DateForVersion ${{ env.VERSION_DATE }} ${{ env.VERSION_PROPERTY != '' && format('-PreviewVersion "{0}"', env.VERSION_PROPERTY) || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-EnableBinlogs' || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-Verbose' || '' }} -BinlogOutput ./ -NupkgOutput ./ -Release # Push Pull Request Packages to our DevOps Artifacts Feed (see nuget.config) - name: Push Pull Request Packages (if not fork) @@ -473,15 +472,10 @@ jobs: - name: Restore dotnet tools run: dotnet tool restore - - name: Enable WASM TargetFrameworks - shell: pwsh - working-directory: ./${{ env.MULTI_TARGET_DIRECTORY }} - run: ./UseTargetFrameworks.ps1 wasm - - name: Generate solution shell: pwsh working-directory: ./ - run: ./tooling/GenerateAllSolution.ps1${{ env.ENABLE_DIAGNOSTICS == 'true' && ' -UseDiagnostics' || '' }} + run: ./tooling/GenerateAllSolution.ps1 -MultiTargets wasm -WinUIMajorVersion 3 -Launch $false${{ env.ENABLE_DIAGNOSTICS == 'true' && ' -UseDiagnostics' || '' }} - name: Install ninja for WASM native dependencies run: sudo apt-get install ninja-build diff --git a/.gitignore b/.gitignore index b4d83854..1357bfc4 100644 --- a/.gitignore +++ b/.gitignore @@ -356,9 +356,10 @@ MigrationBackup/ .idea/ # Community Toolkit Labs generated files -CommunityToolkit.AllComponents.sln +CommunityToolkit.AllComponents.slnx tooling/MultiTarget/Generated/** heads/ -# We use slngen to generate solutions +# Solutions are generated by the scripts in the tooling submodule (*.slnx). *.sln covers stale solutions generated by SlnGen. +*.slnx *.sln diff --git a/.vscode/settings.json b/.vscode/settings.json index 444dd1ee..421c0c54 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,5 +8,5 @@ "csharp.semanticHighlighting.enabled": true, "omnisharp.enableMsBuildLoadProjectsOnDemand": true, "dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true, - "dotnet.defaultSolution": "CommunityToolkit.AllComponents.sln" + "dotnet.defaultSolution": "CommunityToolkit.AllComponents.slnx" } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index c3709f67..23e08bf0 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,7 +6,7 @@ { "label": "generateAllSolution", "type": "shell", - "command": "pwsh ./tooling/GenerateAllSolution.ps1", + "command": "pwsh ./tooling/GenerateAllSolution.ps1 -MultiTargets wasm -Launch $false", "group": "build" } ] diff --git a/Directory.Build.targets b/Directory.Build.targets index 274d8d77..504ca9c9 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -4,7 +4,8 @@ - $(CommonTags);UWP;WinUI;Uno;Platform;WindowsAppSDK;WASDK;WinAppSDK;Universal + $(CommonTags);UWP;WinUI;Platform;WindowsAppSDK;WASDK;WinAppSDK;Universal + $(CommonTags);Uno $(CommonTags);$(PackageTags) $(CommonTags) @@ -15,11 +16,4 @@ - - - - - - - \ No newline at end of file diff --git a/ReadMe.md b/ReadMe.md index 2843f43e..466a6ca4 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -65,7 +65,8 @@ git clone --recurse-submodules https://github.com/CommunityToolkit/Windows.git ``` ### 3. Run build scripts & open solution -- Run `dotnet tool restore` from the project root to install SlnGen +- Run `dotnet tool restore` from the project root to install the .NET tools used by the build scripts +- Run `tooling\GenerateAllSolution.ps1` from the project root to generate `CommunityToolkit.AllComponents.slnx` (opening `.slnx` files requires Visual Studio 2022 17.13 or later, or the .NET 9 SDK or later) - Run build scripts from the [Developer Command Prompt for Visual Studio](https://learn.microsoft.com/visualstudio/ide/reference/command-prompt-powershell) or from elsewhere after adding `MSBuild.exe` to your PATH @@ -83,8 +84,8 @@ NuGet is a standard package manager for .NET applications which is built into Vi There are now two sets of packages for each component: -- `CommunityToolkit.Uwp.*` for UWP + WinUI 2 or Uno.UI -- `CommunityToolkit.WinUI.*` for Windows App SDK + WinUI 3 or Uno.WinUI +- `CommunityToolkit.Uwp.*` for UWP + WinUI 2 +- `CommunityToolkit.WinUI.*` for Windows App SDK + WinUI 3 or Uno.WinUI (Uno Platform apps should use these packages) ## 💠 Principles diff --git a/components/Animations/samples/Dependencies.props b/components/Animations/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Animations/samples/Dependencies.props +++ b/components/Animations/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Animations/src/Dependencies.props b/components/Animations/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Animations/src/Dependencies.props +++ b/components/Animations/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Animations/src/ReadMe.md b/components/Animations/src/ReadMe.md index 9d9c6e56..b8b29d9f 100644 --- a/components/Animations/src/ReadMe.md +++ b/components/Animations/src/ReadMe.md @@ -16,7 +16,7 @@ This package contains the following in the `CommunityToolkit.WinUI.Animations` n ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Animations` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Animations` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Animations` package. diff --git a/components/Behaviors/samples/Dependencies.props b/components/Behaviors/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Behaviors/samples/Dependencies.props +++ b/components/Behaviors/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Behaviors/src/Dependencies.props b/components/Behaviors/src/Dependencies.props index 5242518c..6179e30a 100644 --- a/components/Behaviors/src/Dependencies.props +++ b/components/Behaviors/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - + diff --git a/components/Behaviors/src/FocusBehavior.cs b/components/Behaviors/src/FocusBehavior.cs index e983e067..64523266 100644 --- a/components/Behaviors/src/FocusBehavior.cs +++ b/components/Behaviors/src/FocusBehavior.cs @@ -2,9 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -#if WINDOWS_UWP || HAS_UNO && WINUI2 +#if WINDOWS_UWP using Windows.System; -#elif WINDOWS_WINAPPSDK || HAS_UNO && WINUI3 +#elif WINAPPSDK using Microsoft.UI.Dispatching; #endif diff --git a/components/Behaviors/src/ReadMe.md b/components/Behaviors/src/ReadMe.md index 7a6176b1..7d1aabe0 100644 --- a/components/Behaviors/src/ReadMe.md +++ b/components/Behaviors/src/ReadMe.md @@ -24,7 +24,7 @@ This package contains the following in the `CommunityToolkit.WinUI.Behaviors` na ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Behaviors` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Behaviors` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Behaviors` package. diff --git a/components/CameraPreview/samples/Dependencies.props b/components/CameraPreview/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/CameraPreview/samples/Dependencies.props +++ b/components/CameraPreview/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/CameraPreview/src/Dependencies.props b/components/CameraPreview/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/CameraPreview/src/Dependencies.props +++ b/components/CameraPreview/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/CameraPreview/src/ReadMe.md b/components/CameraPreview/src/ReadMe.md index edad1eeb..78fb419c 100644 --- a/components/CameraPreview/src/ReadMe.md +++ b/components/CameraPreview/src/ReadMe.md @@ -11,7 +11,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.CameraPreview` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.CameraPreview` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.CameraPreview` package. diff --git a/components/Collections/samples/Dependencies.props b/components/Collections/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Collections/samples/Dependencies.props +++ b/components/Collections/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Collections/src/Dependencies.props b/components/Collections/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Collections/src/Dependencies.props +++ b/components/Collections/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Collections/src/ReadMe.md b/components/Collections/src/ReadMe.md index 095d112d..d85fa8d1 100644 --- a/components/Collections/src/ReadMe.md +++ b/components/Collections/src/ReadMe.md @@ -12,7 +12,7 @@ This package contains the following in the `CommunityToolkit.WinUI.Collections` ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Collections` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Collections` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Collections` package. diff --git a/components/ColorPicker/samples/Dependencies.props b/components/ColorPicker/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/ColorPicker/samples/Dependencies.props +++ b/components/ColorPicker/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/ColorPicker/src/ColorPicker.cs b/components/ColorPicker/src/ColorPicker.cs index f03bdcb8..8bae9898 100644 --- a/components/ColorPicker/src/ColorPicker.cs +++ b/components/ColorPicker/src/ColorPicker.cs @@ -8,11 +8,11 @@ using Windows.UI; using ColorSpectrum = Microsoft.UI.Xaml.Controls.Primitives.ColorSpectrum; using ColorPickerSlider = CommunityToolkit.WinUI.Controls.Primitives.ColorPickerSlider; -#if WINAPPSDK || HAS_UNO && WINUI +#if WINAPPSDK using Microsoft.UI.Xaml.Input; using Microsoft.UI.Dispatching; using Colors = Microsoft.UI.Colors; -#elif WINDOWS_UWP || HAS_UNO && WINUI2 +#elif WINDOWS_UWP using Windows.System; using Windows.UI.Xaml.Input; using Microsoft.UI.Xaml.Controls; diff --git a/components/ColorPicker/src/Dependencies.props b/components/ColorPicker/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/ColorPicker/src/Dependencies.props +++ b/components/ColorPicker/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Converters/samples/Dependencies.props b/components/Converters/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Converters/samples/Dependencies.props +++ b/components/Converters/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Converters/src/ColorToDisplayNameConverter.cs b/components/Converters/src/ColorToDisplayNameConverter.cs index b8c0f59f..3a1e2710 100644 --- a/components/Converters/src/ColorToDisplayNameConverter.cs +++ b/components/Converters/src/ColorToDisplayNameConverter.cs @@ -38,8 +38,6 @@ public object Convert( // Windows.UI.ColorHelper not yet supported on UWP. // Following advice from Sergio0694 return color.ToString(); -#elif WINUI2 - return Windows.UI.ColorHelper.ToDisplayName(color); #elif WINUI3 return Microsoft.UI.ColorHelper.ToDisplayName(color); #endif diff --git a/components/Converters/src/Dependencies.props b/components/Converters/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Converters/src/Dependencies.props +++ b/components/Converters/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Converters/src/ReadMe.md b/components/Converters/src/ReadMe.md index e0a2d5ee..cdce903e 100644 --- a/components/Converters/src/ReadMe.md +++ b/components/Converters/src/ReadMe.md @@ -28,7 +28,7 @@ This package contains the following converters in the `CommunityToolkit.WinUI.Co ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Converters` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Converters` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Converters` package. diff --git a/components/Converters/src/ResourceNameToResourceStringConverter.cs b/components/Converters/src/ResourceNameToResourceStringConverter.cs index 8be8182e..ee636139 100644 --- a/components/Converters/src/ResourceNameToResourceStringConverter.cs +++ b/components/Converters/src/ResourceNameToResourceStringConverter.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -// TODO: Need to better understand how this works/maps on Uno between Uno.UI/Uno.WinUI, +// TODO: Need to better understand how this works/maps on Uno, // This should be the equivalent code from Uno.WinUI from: https://github.com/unoplatform/Uno.WindowsCommunityToolkit/blob/uno/CommunityToolkit.WinUI.UI/Converters/ResourceNameToResourceStringConverter.cs #if WINAPPSDK && !HAS_UNO using Microsoft.Windows.ApplicationModel.Resources; diff --git a/components/DeveloperTools/samples/Dependencies.props b/components/DeveloperTools/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/DeveloperTools/samples/Dependencies.props +++ b/components/DeveloperTools/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/DeveloperTools/src/Dependencies.props b/components/DeveloperTools/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/DeveloperTools/src/Dependencies.props +++ b/components/DeveloperTools/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/DeveloperTools/src/ReadMe.md b/components/DeveloperTools/src/ReadMe.md index 9dbbc511..e0f72276 100644 --- a/components/DeveloperTools/src/ReadMe.md +++ b/components/DeveloperTools/src/ReadMe.md @@ -12,7 +12,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Deve ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.DeveloperTools` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.DeveloperTools` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.DeveloperTools` package. diff --git a/components/Extensions/samples/Dependencies.props b/components/Extensions/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Extensions/samples/Dependencies.props +++ b/components/Extensions/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Extensions/src/Dependencies.props b/components/Extensions/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Extensions/src/Dependencies.props +++ b/components/Extensions/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Extensions/src/ReadMe.md b/components/Extensions/src/ReadMe.md index 9e629c24..9d103401 100644 --- a/components/Extensions/src/ReadMe.md +++ b/components/Extensions/src/ReadMe.md @@ -40,7 +40,7 @@ This package contains the following in the `CommunityToolkit.WinUI` namespace: ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Extensions` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Extensions` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Extensions` package. diff --git a/components/Extensions/src/Text/StringExtensions.Localization.cs b/components/Extensions/src/Text/StringExtensions.Localization.cs index 6f784125..971eb455 100644 --- a/components/Extensions/src/Text/StringExtensions.Localization.cs +++ b/components/Extensions/src/Text/StringExtensions.Localization.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -// TODO: Need to better understand how this works/maps on Uno between Uno.UI/Uno.WinUI +// TODO: Need to better understand how this works/maps on Uno // Differences to understand with https://github.com/unoplatform/Uno.WindowsCommunityToolkit/blob/uno/CommunityToolkit.WinUI/Extensions/StringExtensions.cs #if WINAPPSDK && !HAS_UNO using Microsoft.Windows.ApplicationModel.Resources; diff --git a/components/HeaderedControls/samples/Dependencies.props b/components/HeaderedControls/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/HeaderedControls/samples/Dependencies.props +++ b/components/HeaderedControls/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/HeaderedControls/src/Dependencies.props b/components/HeaderedControls/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/HeaderedControls/src/Dependencies.props +++ b/components/HeaderedControls/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/HeaderedControls/src/ReadMe.md b/components/HeaderedControls/src/ReadMe.md index 499ce8b1..edc35a45 100644 --- a/components/HeaderedControls/src/ReadMe.md +++ b/components/HeaderedControls/src/ReadMe.md @@ -13,7 +13,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.HeaderedControls` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.HeaderedControls` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.HeaderedControls` package. diff --git a/components/Helpers/samples/Dependencies.props b/components/Helpers/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Helpers/samples/Dependencies.props +++ b/components/Helpers/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Helpers/src/Dependencies.props b/components/Helpers/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Helpers/src/Dependencies.props +++ b/components/Helpers/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Helpers/src/ReadMe.md b/components/Helpers/src/ReadMe.md index 241f010e..ac25cdd2 100644 --- a/components/Helpers/src/ReadMe.md +++ b/components/Helpers/src/ReadMe.md @@ -16,7 +16,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Help ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Helpers` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Helpers` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Helpers` package. diff --git a/components/ImageCropper/samples/Dependencies.props b/components/ImageCropper/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/ImageCropper/samples/Dependencies.props +++ b/components/ImageCropper/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/ImageCropper/src/Dependencies.props b/components/ImageCropper/src/Dependencies.props index 7e257375..5e8a37b7 100644 --- a/components/ImageCropper/src/Dependencies.props +++ b/components/ImageCropper/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - + diff --git a/components/ImageCropper/src/ReadMe.md b/components/ImageCropper/src/ReadMe.md index 07942198..1470cfaa 100644 --- a/components/ImageCropper/src/ReadMe.md +++ b/components/ImageCropper/src/ReadMe.md @@ -11,7 +11,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.ImageCropper` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.ImageCropper` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.ImageCropper` package. diff --git a/components/LayoutTransformControl/samples/Dependencies.props b/components/LayoutTransformControl/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/LayoutTransformControl/samples/Dependencies.props +++ b/components/LayoutTransformControl/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/LayoutTransformControl/src/Dependencies.props b/components/LayoutTransformControl/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/LayoutTransformControl/src/Dependencies.props +++ b/components/LayoutTransformControl/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/LayoutTransformControl/src/ReadMe.md b/components/LayoutTransformControl/src/ReadMe.md index b766ca90..4791780a 100644 --- a/components/LayoutTransformControl/src/ReadMe.md +++ b/components/LayoutTransformControl/src/ReadMe.md @@ -11,7 +11,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.LayoutTransformControl` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.LayoutTransformControl` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.LayoutTransformControl` package. diff --git a/components/Media/samples/Dependencies.props b/components/Media/samples/Dependencies.props index 2aae9fd3..6b673a0e 100644 --- a/components/Media/samples/Dependencies.props +++ b/components/Media/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - + diff --git a/components/Media/src/Dependencies.props b/components/Media/src/Dependencies.props index 2cff51a2..d64a2064 100644 --- a/components/Media/src/Dependencies.props +++ b/components/Media/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/MetadataControl/src/Dependencies.props b/components/MetadataControl/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/MetadataControl/src/Dependencies.props +++ b/components/MetadataControl/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/MetadataControl/src/ReadMe.md b/components/MetadataControl/src/ReadMe.md index a4b513ed..8bafb5bc 100644 --- a/components/MetadataControl/src/ReadMe.md +++ b/components/MetadataControl/src/ReadMe.md @@ -11,7 +11,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.MetadataControl` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.MetadataControl` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.MetadataControl` package. diff --git a/components/Primitives/samples/Dependencies.props b/components/Primitives/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Primitives/samples/Dependencies.props +++ b/components/Primitives/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Primitives/src/Dependencies.props b/components/Primitives/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Primitives/src/Dependencies.props +++ b/components/Primitives/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Primitives/src/ReadMe.md b/components/Primitives/src/ReadMe.md index b8aafe28..bc9583a5 100644 --- a/components/Primitives/src/ReadMe.md +++ b/components/Primitives/src/ReadMe.md @@ -18,7 +18,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.Primitives` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.Primitives` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.Primitives` package. diff --git a/components/RadialGauge/samples/Dependencies.props b/components/RadialGauge/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/RadialGauge/samples/Dependencies.props +++ b/components/RadialGauge/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/RadialGauge/src/Dependencies.props b/components/RadialGauge/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/RadialGauge/src/Dependencies.props +++ b/components/RadialGauge/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/RadialGauge/src/ReadMe.md b/components/RadialGauge/src/ReadMe.md index 3587bb54..2fe6fb0c 100644 --- a/components/RadialGauge/src/ReadMe.md +++ b/components/RadialGauge/src/ReadMe.md @@ -11,7 +11,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.RadialGauge` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.RadialGauge` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.RadialGauge` package. diff --git a/components/RangeSelector/samples/Dependencies.props b/components/RangeSelector/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/RangeSelector/samples/Dependencies.props +++ b/components/RangeSelector/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/RangeSelector/src/Dependencies.props b/components/RangeSelector/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/RangeSelector/src/Dependencies.props +++ b/components/RangeSelector/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/RangeSelector/src/ReadMe.md b/components/RangeSelector/src/ReadMe.md index 2b016327..e4e3a292 100644 --- a/components/RangeSelector/src/ReadMe.md +++ b/components/RangeSelector/src/ReadMe.md @@ -11,7 +11,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.RangeSelector` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.RangeSelector` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.RangeSelector` package. diff --git a/components/RichSuggestBox/samples/Dependencies.props b/components/RichSuggestBox/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/RichSuggestBox/samples/Dependencies.props +++ b/components/RichSuggestBox/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/RichSuggestBox/src/Dependencies.props b/components/RichSuggestBox/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/RichSuggestBox/src/Dependencies.props +++ b/components/RichSuggestBox/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/RichSuggestBox/src/ReadMe.md b/components/RichSuggestBox/src/ReadMe.md index 73fdb899..be57d19b 100644 --- a/components/RichSuggestBox/src/ReadMe.md +++ b/components/RichSuggestBox/src/ReadMe.md @@ -11,7 +11,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.RichSuggestBox` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.RichSuggestBox` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.RichSuggestBox` package. diff --git a/components/Segmented/samples/Dependencies.props b/components/Segmented/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Segmented/samples/Dependencies.props +++ b/components/Segmented/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Segmented/src/Dependencies.props b/components/Segmented/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Segmented/src/Dependencies.props +++ b/components/Segmented/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Segmented/src/ReadMe.md b/components/Segmented/src/ReadMe.md index 326aad66..12034e0f 100644 --- a/components/Segmented/src/ReadMe.md +++ b/components/Segmented/src/ReadMe.md @@ -11,7 +11,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.Segmented` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.Segmented` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.Segmented` package. diff --git a/components/SettingsControls/samples/Dependencies.props b/components/SettingsControls/samples/Dependencies.props index 388cf772..cbe44a44 100644 --- a/components/SettingsControls/samples/Dependencies.props +++ b/components/SettingsControls/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - + diff --git a/components/SettingsControls/src/Dependencies.props b/components/SettingsControls/src/Dependencies.props index ba4f53fa..8f348f37 100644 --- a/components/SettingsControls/src/Dependencies.props +++ b/components/SettingsControls/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/SettingsControls/src/ReadMe.md b/components/SettingsControls/src/ReadMe.md index a12ae1fa..caad7dcf 100644 --- a/components/SettingsControls/src/ReadMe.md +++ b/components/SettingsControls/src/ReadMe.md @@ -12,7 +12,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.SettingsControls` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.SettingsControls` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.SettingsControls` package. diff --git a/components/Sizers/samples/Dependencies.props b/components/Sizers/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Sizers/samples/Dependencies.props +++ b/components/Sizers/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Sizers/src/Dependencies.props b/components/Sizers/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Sizers/src/Dependencies.props +++ b/components/Sizers/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Sizers/src/ReadMe.md b/components/Sizers/src/ReadMe.md index b81e9e6a..2538e4d7 100644 --- a/components/Sizers/src/ReadMe.md +++ b/components/Sizers/src/ReadMe.md @@ -14,7 +14,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.Sizers` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.Sizers` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.Sizers` package. diff --git a/components/TabbedCommandBar/samples/Dependencies.props b/components/TabbedCommandBar/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/TabbedCommandBar/samples/Dependencies.props +++ b/components/TabbedCommandBar/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/TabbedCommandBar/src/Dependencies.props b/components/TabbedCommandBar/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/TabbedCommandBar/src/Dependencies.props +++ b/components/TabbedCommandBar/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/TokenizingTextBox/samples/Dependencies.props b/components/TokenizingTextBox/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/TokenizingTextBox/samples/Dependencies.props +++ b/components/TokenizingTextBox/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/TokenizingTextBox/src/Dependencies.props b/components/TokenizingTextBox/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/TokenizingTextBox/src/Dependencies.props +++ b/components/TokenizingTextBox/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/TokenizingTextBox/src/ReadMe.md b/components/TokenizingTextBox/src/ReadMe.md index 31441bd2..d4f44985 100644 --- a/components/TokenizingTextBox/src/ReadMe.md +++ b/components/TokenizingTextBox/src/ReadMe.md @@ -11,7 +11,7 @@ This package contains the following controls in the `CommunityToolkit.WinUI.Cont ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.TokenizingTextBox` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Controls.TokenizingTextBox` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.TokenizingTextBox` package. diff --git a/components/Triggers/samples/Dependencies.props b/components/Triggers/samples/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Triggers/samples/Dependencies.props +++ b/components/Triggers/samples/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Triggers/src/Dependencies.props b/components/Triggers/src/Dependencies.props index 06831102..ff1f9e2b 100644 --- a/components/Triggers/src/Dependencies.props +++ b/components/Triggers/src/Dependencies.props @@ -1,7 +1,7 @@ - - - - - - + diff --git a/components/Triggers/src/ReadMe.md b/components/Triggers/src/ReadMe.md index 0a5d20cc..1e0400e3 100644 --- a/components/Triggers/src/ReadMe.md +++ b/components/Triggers/src/ReadMe.md @@ -18,7 +18,7 @@ This package contains the following triggers in the `CommunityToolkit.WinUI` nam ## Which Package is for me? -If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Triggers` package. +If you're developing with _UWP/WinUI 2_ you should be using the `CommunityToolkit.Uwp.Triggers` package. If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Triggers` package. From 107278c815362cd95e7c9cf5583b09794ffa014a Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Mon, 30 Nov 2026 22:44:05 -0800 Subject: [PATCH 3/3] Skip Uno workloads for the WinUI 2 package job, fix launch args and bat defaults Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/build.yml | 2 ++ .vscode/tasks.json | 2 +- GenerateAllSolution.bat | 6 ++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d1613f7..bcc3f545 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -288,6 +288,7 @@ jobs: # See the matching step in the build job. - name: Remove .NET SDKs newer than global.json + if: ${{ matrix.winui == '3' }} shell: pwsh run: | $selected = [System.Management.Automation.SemanticVersion](dotnet --version) @@ -297,6 +298,7 @@ jobs: dotnet --list-sdks - name: Run Uno Check to Install Dependencies + if: ${{ matrix.winui == '3' }} run: > dotnet tool run uno-check --ci diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 23e08bf0..e4793203 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,7 +6,7 @@ { "label": "generateAllSolution", "type": "shell", - "command": "pwsh ./tooling/GenerateAllSolution.ps1 -MultiTargets wasm -Launch $false", + "command": "pwsh -NoProfile -Command \"./tooling/GenerateAllSolution.ps1 -MultiTargets wasm -Launch 0\"", "group": "build" } ] diff --git a/GenerateAllSolution.bat b/GenerateAllSolution.bat index 61551e18..46ff35fd 100644 --- a/GenerateAllSolution.bat +++ b/GenerateAllSolution.bat @@ -1,5 +1,7 @@ @ECHO OFF SET "MultiTargets=%1" -IF "%MultiTargets%"=="" SET "MultiTargets=uwp,wasdk,wasm" +IF "%MultiTargets%"=="" SET "MultiTargets=wasdk,wasm" +SET "WinUIArgs=" +IF NOT "%2"=="" SET "WinUIArgs=-WinUIMajorVersion %2" -powershell .\tooling\GenerateAllSolution.ps1 -MultiTargets %MultiTargets% \ No newline at end of file +powershell .\tooling\GenerateAllSolution.ps1 -MultiTargets %MultiTargets% %WinUIArgs% \ No newline at end of file