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

  <ItemGroup>
    <PackageReference Include="bunit" Version="2.*" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.*" />
  </ItemGroup>

  <ItemGroup>
    <Content Remove="Locales\*.json" />
    <EmbeddedResource Include="Locales\*.json" />
  </ItemGroup>

  <ItemGroup>
    <Using Include="BootstrapBlazor.Server.Data" />
    <Using Include="Microsoft.Extensions.DependencyInjection" />
    <Using Include="UnitTest.Extensions" />
  </ItemGroup>

  <ItemGroup>
    <Compile Include="..\..\src\BootstrapBlazor.Server\Data\CustomTreeItem.cs" Link="Misc\CustomTreeItem.cs" />
    <Compile Include="..\..\src\BootstrapBlazor.Server\Data\Foo.cs" Link="Misc\Foo.cs" />
    <Compile Include="..\..\src\BootstrapBlazor.Server\Data\TreeFoo.cs" Link="Misc\TreeFoo.cs" />
    <Compile Include="..\..\src\BootstrapBlazor.Server\Extensions\IpExtensions.cs" Link="Extensions\IpExtensions.cs" />
    <Compile Include="..\..\src\BootstrapBlazor\Components\Table\InternalTableColumn.cs" Link="Misc\InternalTableColumn.cs" />
    <Compile Include="..\..\src\BootstrapBlazor\Extensions\DateTimeExtensions.cs" Link="Extensions\DateTimeExtensions.cs" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\src\BootstrapBlazor\BootstrapBlazor.csproj" />
  </ItemGroup>

  <ItemGroup>
    <Content Include="Plugins\Test.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <None Remove="Plugins\Test.dll" />
  </ItemGroup>

  <ItemGroup>
    <None Update="appsettings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Update="FooTest.db">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Update="zh-CN.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>

  <ItemGroup>
    <Using Include="BootstrapBlazor.Components"/>
    <Using Include="Bunit"/>
    <Using Include="Microsoft.AspNetCore.Components"/>
    <Using Include="UnitTest.Core"/>
  </ItemGroup>
  
</Project>
