|
1 | 1 | <!-- For CSharpMarkup projects-->
|
2 | 2 | <Project>
|
3 | 3 | <PropertyGroup>
|
4 |
| - <CSharpMarkupVersion>2.4.18</CSharpMarkupVersion> |
5 |
| - <CSharpMarkupReleaseTag>csharpmarkup2-winui-2-4-18</CSharpMarkupReleaseTag> |
| 4 | + <CSharpMarkupVersion>3.0.1</CSharpMarkupVersion> |
| 5 | + <CSharpMarkupReleaseTag>csharpmarkup2-winui-3-0-1</CSharpMarkupReleaseTag> |
6 | 6 | <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
7 | 7 |
|
8 | 8 | <IsUno>true</IsUno>
|
|
14 | 14 | <IsWinAppSdk>false</IsWinAppSdk>
|
15 | 15 | <IsWasm>false</IsWasm>
|
16 | 16 |
|
17 |
| - <CSharpMarkupWinUINet7TargetFrameworks>net7.0-windows10.0.19041;net7.0;net7.0-android;net7.0-ios;net7.0-maccatalyst;net7.0-macos</CSharpMarkupWinUINet7TargetFrameworks> |
18 |
| - <CSharpMarkupWinUINet8TargetFrameworks>net8.0-windows10.0.19041;net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst;net8.0-macos</CSharpMarkupWinUINet8TargetFrameworks> |
| 17 | + <CSharpMarkupWinUINet8TargetFrameworks>net8.0-windows10.0.19041.0;net8.0;net8.0-android30.0;net8.0-ios17.0;net8.0-maccatalyst17.0;net8.0-macos14.0</CSharpMarkupWinUINet8TargetFrameworks> |
| 18 | + <CSharpMarkupWinUINet9TargetFrameworks>net9.0;net9.0-android30.0;net9.0-ios18.0;net9.0-maccatalyst18.0;net9.0-macos15.0</CSharpMarkupWinUINet9TargetFrameworks> |
| 19 | + <CSharpMarkupWinUIExtensionsTargetFrameworks>net8.0-windows10.0.19041.0;net8.0;net8.0-android34.0;net8-browserwasm1.0;net8-desktop1.0;net8.0-ios17.2;net8.0-maccatalyst17.2</CSharpMarkupWinUIExtensionsTargetFrameworks> |
19 | 20 | </PropertyGroup>
|
20 | 21 |
|
21 | 22 | <Choose>
|
22 | 23 | <When Condition=" '$(Configuration)' == 'Generate' And '$(DotNetPreviousMajor)' == 'true' ">
|
23 | 24 | <PropertyGroup>
|
24 |
| - <CSharpMarkupWinUITargetFrameworks>$(CSharpMarkupWinUINet7TargetFrameworks)</CSharpMarkupWinUITargetFrameworks> |
| 25 | + <CSharpMarkupWinUITargetFrameworks>$(CSharpMarkupWinUINet8TargetFrameworks)</CSharpMarkupWinUITargetFrameworks> |
25 | 26 | </PropertyGroup>
|
26 | 27 | </When>
|
27 | 28 | <When Condition=" '$(Configuration)' == 'Generate' And '$(DotNetPreviousMajor)' != 'true' ">
|
28 | 29 | <PropertyGroup>
|
29 |
| - <CSharpMarkupWinUITargetFrameworks>$(CSharpMarkupWinUINet8TargetFrameworks)</CSharpMarkupWinUITargetFrameworks> |
| 30 | + <CSharpMarkupWinUITargetFrameworks>$(CSharpMarkupWinUINet9TargetFrameworks)</CSharpMarkupWinUITargetFrameworks> |
30 | 31 | </PropertyGroup>
|
31 | 32 | </When>
|
32 | 33 | <Otherwise>
|
33 | 34 | <PropertyGroup>
|
34 |
| - <CSharpMarkupWinUITargetFrameworks>$(CSharpMarkupWinUINet7TargetFrameworks);$(CSharpMarkupWinUINet8TargetFrameworks)</CSharpMarkupWinUITargetFrameworks> |
| 35 | + <CSharpMarkupWinUITargetFrameworks>$(CSharpMarkupWinUINet8TargetFrameworks);$(CSharpMarkupWinUINet9TargetFrameworks)</CSharpMarkupWinUITargetFrameworks> |
35 | 36 | </PropertyGroup>
|
36 | 37 | </Otherwise>
|
37 | 38 | </Choose>
|
|
64 | 65 |
|
65 | 66 | <DefineConstants>$(DefineConstants);WINUI</DefineConstants>
|
66 | 67 | <TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
| 68 | + |
| 69 | + <!-- .NET 8+ Windows runtime identifiers --> |
| 70 | + <RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers> |
67 | 71 | </PropertyGroup>
|
68 |
| - <Choose> |
69 |
| - <When Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 1)) < 8"> |
70 |
| - <PropertyGroup> |
71 |
| - <!-- Pre .NET 8 Windows runtime identifiers --> |
72 |
| - <RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers> |
73 |
| - </PropertyGroup> |
74 |
| - </When> |
75 |
| - <Otherwise> |
76 |
| - <PropertyGroup> |
77 |
| - <!-- .NET 8+ Windows runtime identifiers --> |
78 |
| - <RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers> |
79 |
| - </PropertyGroup> |
80 |
| - </Otherwise> |
81 |
| - </Choose> |
82 | 72 | </When>
|
83 | 73 | <Otherwise>
|
84 | 74 | <PropertyGroup>
|
|
98 | 88 | </PropertyGroup>
|
99 | 89 |
|
100 | 90 | <Target Name="DisplayCustomVariable" BeforeTargets="BeforeBuild">
|
101 |
| - <Message Text="CSharpMarkupWinUITargetFrameworks is: $(CSharpMarkupWinUITargetFrameworks)" Importance="high" /> |
| 91 | + <Message Text="CSharpMarkupWinUITargetFrameworks is: $(CSharpMarkupWinUITargetFrameworks), TargetPlatformIdentifier is: $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')), IsUno is: $(IsUno), DefineConstants is : $(DefineConstants)" Importance="high" /> |
102 | 92 | </Target>
|
103 | 93 | </Project>
|
0 commit comments