Skip to content

Commit cce95d3

Browse files
committed
Fix TFMs for UWP projects
1 parent 079da46 commit cce95d3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

components/AppServices/src/CommunityToolkit.AppServices.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
<RootNamespace>CommunityToolkit.AppServices</RootNamespace>
88
<PackageId>$(PackageIdPrefix).$(ToolkitComponentName)</PackageId>
9+
<HasWindowsUIXaml>false</HasWindowsUIXaml>
910
<HasWinUI>false</HasWinUI>
11+
12+
<!-- We also include 'net9.0-windows10.0.17763.0' explicitly for UWP as a workaround for https://github.com/CommunityToolkit/Tooling-Windows-Submodule/issues/238 -->
13+
<UwpTargetFrameworks>uap10.0.17763;net8.0-windows10.0.17763.0;net9.0-windows10.0.17763.0;</UwpTargetFrameworks>
1014
</PropertyGroup>
1115

1216
<!-- Sets this up as a toolkit component's source project -->

components/DependencyPropertyGenerator/src/CommunityToolkit.WinUI.DependencyPropertyGenerator.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
<RootNamespace>CommunityToolkit.WinUI.DependencyPropertyGeneratorRns</RootNamespace>
1010
<HasWinUI2>false</HasWinUI2>
1111
<EnableGlobalUsings>false</EnableGlobalUsings>
12+
13+
<!-- We also include 'net9.0-windows10.0.17763.0' explicitly for UWP as a workaround for https://github.com/CommunityToolkit/Tooling-Windows-Submodule/issues/238 -->
14+
<UwpTargetFrameworks>uap10.0.17763;net8.0-windows10.0.17763.0;net9.0-windows10.0.17763.0;</UwpTargetFrameworks>
1215
</PropertyGroup>
1316

1417
<!-- Sets this up as a toolkit component's source project -->

0 commit comments

Comments
 (0)