﻿<Project Sdk="MSBuild.Sdk.Extras/3.0.23">
	<!--
	Adding project references to this project requires some manual adjustments.
	Please see https://github.com/unoplatform/uno/issues/3909 for more details.
	-->
	<PropertyGroup>
		<TargetFrameworks>netstandard2.0;monoandroid10.0;uap10.0.19041</TargetFrameworks>
		<!-- Ensures the .xr.xml files are generated in a proper layout folder -->
		<GenerateLibraryLayout>true</GenerateLibraryLayout>
		<AssemblyName>StrixMusic.Shells.Groove</AssemblyName>
		<RootNamespace>StrixMusic.Shells.Groove</RootNamespace>
		<Nullable>enable</Nullable>
		<LangVersion>9</LangVersion>
		<WarningsAsErrors>nullable</WarningsAsErrors>
	</PropertyGroup>
	<ItemGroup>
		<PackageReference Include="ClusterNet" Version="0.0.3-alpha" />
		<PackageReference Include="OwlCore" Version="0.0.66" />
		<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
			<PrivateAssets>all</PrivateAssets>
			<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
		</PackageReference>
	</ItemGroup>
	<ItemGroup>
		<Page Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
		<Compile Update="**\*.xaml.cs">
			<DependentUpon>%(Filename)</DependentUpon>
		</Compile>
	</ItemGroup>
	<ItemGroup>
		<UpToDateCheckInput Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
	</ItemGroup>
	<ItemGroup>
		<None Remove="GrooveShell.xaml" />
		<None Remove="LICENSE.txt" />
		<None Remove="Preview.xaml" />
		<None Remove="Styles\Collections\ArtistCollectionStyle.xaml" />
		<None Remove="Styles\Pages\GrooveAlbumPageStyle.xaml" />
		<None Remove="Styles\Pages\GrooveArtistPageStyle.xaml" />
		<None Remove="Styles\Pages\GrooveHomePageStyle.xaml" />
		<None Remove="Styles\Pages\GroovePlaylistPageStyle.xaml" />
		<None Remove="Styles\Pages\GroovePlaylistsPageStyle.xaml" />
		<None Remove="Style\AlbumViewStyle.xaml" />
		<None Remove="Style\HomeStyle.xaml" />
		<None Remove="Style\MediaSlider.xaml" />
		<None Remove="Style\NowPlayingBarStyle.xaml" />
		<None Remove="Style\PlayableCollectionGroupPivotStyle.xaml" />
	</ItemGroup>
	<ItemGroup>
		<UpToDateCheckInput Remove="GrooveShell.xaml" />
		<UpToDateCheckInput Remove="Preview.xaml" />
		<UpToDateCheckInput Remove="Styles\Collections\ArtistCollectionStyle.xaml" />
		<UpToDateCheckInput Remove="Styles\GrooveNowPlayingBarStyle.xaml" />
		<UpToDateCheckInput Remove="Styles\Pages\GrooveAlbumPageStyle.xaml" />
		<UpToDateCheckInput Remove="Styles\Pages\GrooveArtistPageStyle.xaml" />
		<UpToDateCheckInput Remove="Styles\Pages\GrooveHomePageStyle.xaml" />
		<UpToDateCheckInput Remove="Styles\Pages\GroovePlaylistPageStyle.xaml" />
		<UpToDateCheckInput Remove="Styles\Pages\GroovePlaylistsPageStyle.xaml" />
		<UpToDateCheckInput Remove="Style\AlbumViewStyle.xaml" />
		<UpToDateCheckInput Remove="Style\HomeStyle.xaml" />
		<UpToDateCheckInput Remove="Style\MediaSlider.xaml" />
		<UpToDateCheckInput Remove="Style\NowPlayingBarStyle.xaml" />
		<UpToDateCheckInput Remove="Style\PlayableCollectionGroupPivotStyle.xaml" />
	</ItemGroup>
	<ItemGroup>
		<ProjectReference Include="..\..\Libs\OwlCore.WinUI\OwlCore.WinUI.csproj" />
		<ProjectReference Include="..\..\Sdk\StrixMusic.Sdk.WinUI\StrixMusic.Sdk.WinUI.csproj" />
		<ProjectReference Include="..\..\Sdk\StrixMusic.Sdk\StrixMusic.Sdk.csproj" />
	</ItemGroup>
	<ItemGroup>
		<Compile Update="Styles\Collections\ArtistCollectionStyle.xaml.cs">
			<DependentUpon>%(Filename)</DependentUpon>
		</Compile>
		<Compile Update="Styles\Pages\GroovePlaylistsPageStyle.xaml.cs">
			<DependentUpon>GroovePlaylistsPageStyle.xaml</DependentUpon>
		</Compile>
		<Compile Update="Styles\GrooveNowPlayingBarStyle.xaml.cs">
			<DependentUpon>GrooveNowPlayingBarStyle.xaml</DependentUpon>
		</Compile>
		<Compile Update="Style\AlbumViewStyle.xaml.cs">
			<DependentUpon>%(Filename)</DependentUpon>
		</Compile>
		<Compile Update="Style\HomeStyle.xaml.cs">
			<DependentUpon>%(Filename)</DependentUpon>
		</Compile>
		<Compile Update="Style\NowPlayingBarStyle.xaml.cs">
			<DependentUpon>%(Filename)</DependentUpon>
		</Compile>
		<Compile Update="Style\PlayableCollectionGroupPivotStyle.xaml.cs">
			<DependentUpon>%(Filename)</DependentUpon>
		</Compile>
	</ItemGroup>
	<ItemGroup Condition="'$(TargetFramework)' == 'uap10.0.19041'">
		<PackageReference Include="Microsoft.Toolkit.Uwp.UI.Behaviors">
			<Version>7.1.2</Version>
		</PackageReference>
		<PackageReference Include="Microsoft.Xaml.Behaviors.Uwp.Managed">
			<Version>2.0.1</Version>
		</PackageReference>
		<PackageReference Include="WindowsStateTriggers">
			<Version>1.1.0</Version>
		</PackageReference>
	</ItemGroup>
	<ItemGroup Condition="'$(TargetFramework)' != 'uap10.0.19041'">
		<PackageReference Include="Uno.Microsoft.Toolkit.Uwp.UI.Behaviors" Version="7.1.10" />
		<PackageReference Include="Uno.UI" Version="4.0.13" />
	</ItemGroup>
	<ItemGroup>
		<Folder Include="Styles\NowPlaying\" />
		<Folder Include="ViewModels\Pages\Interfaces\" />
	</ItemGroup>
	<ItemGroup>
		<None Include="..\..\..\stylecop.json" />
	</ItemGroup>
</Project>