<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

  <PropertyGroup>
    <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
    <TargetFramework>net8.0</TargetFramework>
    <Nullable>disable</Nullable>
    <ImplicitUsings>disable</ImplicitUsings>
    <ProjectGuid>{e068e22e-ee09-43e7-8346-5ead7f7e5bdb}</ProjectGuid>
    <RootNamespace>Animation</RootNamespace>
    <AssemblyName>Animation</AssemblyName>
    <DefineConstants>$(DefineConstants);BLAZORGL</DefineConstants>
	<KniPlatform>BlazorGL</KniPlatform>
  </PropertyGroup>
  
  <PropertyGroup>
    <BlazorEnableTimeZoneSupport>false</BlazorEnableTimeZoneSupport>
    <InvariantGlobalization>true</InvariantGlobalization>
  </PropertyGroup>

  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  </PropertyGroup>

  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="Pages\Index.razor.cs" />
    <Compile Include="Program.cs" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="nkast.Xna.Framework" Version="4.0.9001.*" />
    <PackageReference Include="nkast.Xna.Framework.Content" Version="4.0.9001.*" />
    <PackageReference Include="nkast.Xna.Framework.Devices" Version="4.0.9001.*" />
    <PackageReference Include="nkast.Xna.Framework.Graphics" Version="4.0.9001.*" />
    <PackageReference Include="nkast.Xna.Framework.Audio" Version="4.0.9001.*" />
    <PackageReference Include="nkast.Xna.Framework.Media" Version="4.0.9001.*" />
    <PackageReference Include="nkast.Xna.Framework.Input" Version="4.0.9001.*" />
    <PackageReference Include="nkast.Xna.Framework.Game" Version="4.0.9001.*" />
    <PackageReference Include="nkast.Xna.Framework.Storage" Version="4.0.9001" />
    <PackageReference Include="nkast.Xna.Framework.XR" Version="4.0.9001" />
    <PackageReference Include="nkast.Kni.Platform.Blazor.GL" Version="4.0.9001.*" />
    <PackageReference Include="nkast.Xna.Framework.Content.Pipeline.Builder" Version="4.0.9001.*" />
  </ItemGroup>

  <ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
    <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.11" />
    <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.11" PrivateAssets="all" />
  </ItemGroup>

  <ItemGroup>
    <KniContentReference Include="..\AnimationContent\AnimationContent.mgcb">   
      <Link>Content\AnimationContent.mgcb</Link>
    </KniContentReference>
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\..\Animation\Aether.Animation.NETSTANDARD.csproj" />
    <ProjectReference Include="..\..\..\Shaders\InfiniteGrid\Aether.Shaders.InfiniteGrid.csproj" />
  </ItemGroup>
  <Import Project="..\Animation.Shared\Animation.Shared.projitems" Label="Shared" />

</Project>
