Skip to content

Commit b2bfb04

Browse files
committed
removed Uno.SDK
1 parent 94bb119 commit b2bfb04

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

src/WinUI.TableView.csproj

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,40 @@
1-
<Project Sdk="Uno.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<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;
88
</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>
149
<Nullable>enable</Nullable>
15-
<DisableImplicitUnoPackages>true</DisableImplicitUnoPackages>
1610
</PropertyGroup>
1711

1812
<PropertyGroup Condition="'$([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework)))' == 'windows'">
13+
<UseWinUI>true</UseWinUI>
1914
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
15+
<WindowsSdkPackageVersion>10.0.19041.56</WindowsSdkPackageVersion>
2016
</PropertyGroup>
2117

2218
<ItemGroup>
2319
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.1.240916" />
2420
</ItemGroup>
2521

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" />
2824
</ItemGroup>
29-
30-
<ItemGroup Condition="'$([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework)))' == 'windows'">
25+
26+
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">
3127
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.250108002" />
3228
</ItemGroup>
3329

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+
3438
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
3539
<PackageId>WinUI.TableView</PackageId>
3640
<IncludeSymbols>true</IncludeSymbols>

src/global.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)