forked from Roflin/gamenight
93 lines
4.1 KiB
XML
93 lines
4.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) or '$(EnableWindowsTargeting)' == 'true'">$(TargetFrameworks);net7.0-windows10.0.19041</TargetFrameworks>
|
|
<TargetFrameworks>$(TargetFrameworks);net7.0;net7.0-ios;net7.0-android;net7.0-maccatalyst</TargetFrameworks>
|
|
|
|
<!-- Ensures the .xr.xml files are generated in a proper layout folder -->
|
|
<GenerateLibraryLayout>true</GenerateLibraryLayout>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Uno.Dsp.Tasks" Version="1.0.1" />
|
|
<PackageReference Include="Uno.WinUI" Version="4.8.24" />
|
|
<PackageReference Include="Uno.Resizetizer" Version="1.0.2" />
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.1.0" />
|
|
<PackageReference Include="Uno.Extensions.Configuration" Version="2.3.6" />
|
|
<PackageReference Include="Uno.Extensions.Http" Version="2.3.6" />
|
|
<PackageReference Include="Uno.Extensions.Http.Refit" Version="2.3.6" />
|
|
<PackageReference Include="Uno.Extensions.Logging.WinUI" Version="2.3.6" />
|
|
<PackageReference Include="Uno.Extensions.Serialization.Http" Version="2.3.6" />
|
|
<PackageReference Include="Uno.Extensions.Serialization.Refit" Version="2.3.6" />
|
|
<PackageReference Include="Uno.Material.WinUI" Version="2.5.3" />
|
|
<PackageReference Include="Uno.Toolkit.WinUI.Material" Version="2.5.5" />
|
|
<PackageReference Include="Uno.Toolkit.WinUI" Version="2.5.5" />
|
|
<PackageReference Include="Uno.Extensions.Authentication.WinUI" Version="2.3.6" />
|
|
<PackageReference Include="Uno.Extensions.Hosting.WinUI" Version="2.3.6" />
|
|
<PackageReference Include="Uno.Extensions.Localization.WinUI" Version="2.3.6" />
|
|
<PackageReference Include="Uno.Extensions.Navigation.Toolkit.WinUI" Version="2.3.6" />
|
|
<PackageReference Include="Uno.Extensions.Navigation.WinUI" Version="2.3.6" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
|
|
</ItemGroup>
|
|
|
|
<Choose>
|
|
<When Condition="$(IsWinAppSdk)">
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.2.230313.1" />
|
|
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.755" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!--
|
|
If you encounter this error message:
|
|
|
|
error NETSDK1148: A referenced assembly was compiled using a newer version of Microsoft.Windows.SDK.NET.dll.
|
|
Please update to a newer .NET SDK in order to reference this assembly.
|
|
|
|
This means that the two packages below must be aligned with the "build" version number of
|
|
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
|
|
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
|
|
-->
|
|
<!-- <FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="10.0.22621.28" />
|
|
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" TargetingPackVersion="10.0.22621.28" /> -->
|
|
</ItemGroup>
|
|
</When>
|
|
<Otherwise>
|
|
<ItemGroup>
|
|
<Content Include="Assets\**" />
|
|
<Page Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
|
|
<Compile Update="**\*.xaml.cs">
|
|
<DependentUpon>%(Filename)</DependentUpon>
|
|
</Compile>
|
|
<PRIResource Include="**\*.resw" />
|
|
</ItemGroup>
|
|
</Otherwise>
|
|
</Choose>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\FrontendPlatformUno.DataContracts\FrontendPlatformUno.DataContracts.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<UnoDspImportColors Include="Styles\*.zip" Generator="Xaml" />
|
|
<UnoImage Include="Assets\**\*.svg" />
|
|
<EmbeddedResource Include="appsettings.json" />
|
|
<EmbeddedResource Include="appsettings.*.json" DependentUpon="appsettings.json" />
|
|
<UpToDateCheckInput Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="Styles\ColorPaletteOverride.zip" />
|
|
<None Remove="Views\GamenightsPage.xaml" />
|
|
<None Remove="Views\LoginPage.xaml" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<UnoDspImportColors Remove="Styles\ColorPaletteOverride.zip" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<UpToDateCheckInput Remove="Views\GamenightsPage.xaml" />
|
|
<UpToDateCheckInput Remove="Views\LoginPage.xaml" />
|
|
</ItemGroup>
|
|
</Project>
|