|
1 |
| -<Project Sdk="Uno.Sdk"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 | <PropertyGroup>
|
3 | 3 | <TargetFrameworks>
|
4 |
| - net8.0-desktop; |
5 |
| - net8.0-maccatalyst; |
6 |
| - net8.0-windows10.0.22621.0; |
7 |
| - net8.0-browserwasm; |
| 4 | + net8.0; |
| 5 | + net9.0; |
| 6 | + net8.0-windows10.0.19041.0; |
| 7 | + net9.0-windows10.0.19041.0; |
8 | 8 | </TargetFrameworks>
|
9 |
| - <IsPackable>true</IsPackable> |
10 |
| - <UnoSingleProject>true</UnoSingleProject> |
11 |
| - <OutputType>Library</OutputType> |
12 |
| - <!-- Ensures the .xr.xml files are generated in a proper layout folder --> |
13 |
| - <GenerateLibraryLayout>true</GenerateLibraryLayout> |
14 | 9 | <Nullable>enable</Nullable>
|
15 |
| - <DisableImplicitUnoPackages>true</DisableImplicitUnoPackages> |
16 | 10 | </PropertyGroup>
|
17 | 11 |
|
18 | 12 | <PropertyGroup Condition="'$([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework)))' == 'windows'">
|
| 13 | + <UseWinUI>true</UseWinUI> |
19 | 14 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
| 15 | + <WindowsSdkPackageVersion>10.0.19041.56</WindowsSdkPackageVersion> |
20 | 16 | </PropertyGroup>
|
21 | 17 |
|
22 | 18 | <ItemGroup>
|
23 | 19 | <PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.1.240916" />
|
24 | 20 | </ItemGroup>
|
25 | 21 |
|
26 |
| - <ItemGroup Condition="'$([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework)))' != 'windows'"> |
27 |
| - <PackageReference Include="Uno.WinUI" Version="5.6.91" /> |
| 22 | + <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) != 'windows'"> |
| 23 | + <PackageReference Include="Uno.WinUI" Version="5.6.91" /> |
28 | 24 | </ItemGroup>
|
29 |
| - |
30 |
| - <ItemGroup Condition="'$([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework)))' == 'windows'"> |
| 25 | + |
| 26 | + <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'"> |
31 | 27 | <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.250108002" />
|
32 | 28 | </ItemGroup>
|
33 | 29 |
|
| 30 | + <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) != 'windows'"> |
| 31 | + <Page Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" /> |
| 32 | + <Compile Update="**\*.xaml.cs"> |
| 33 | + <DependentUpon>%(Filename)</DependentUpon> |
| 34 | + </Compile> |
| 35 | + <PRIResource Include="**\*.resw" Exclude="bin\**\*.resw;obj\**\*.resw" /> |
| 36 | + </ItemGroup> |
| 37 | + |
34 | 38 | <PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
35 | 39 | <PackageId>WinUI.TableView</PackageId>
|
36 | 40 | <IncludeSymbols>true</IncludeSymbols>
|
|
0 commit comments