2021-01-25 21:27:38 +01:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2024-01-15 21:18:51 +01:00
|
|
|
|
<TargetFrameworks>net8.0</TargetFrameworks>
|
2021-01-25 21:27:38 +01:00
|
|
|
|
<IsPackable>false</IsPackable>
|
|
|
|
|
<RootNamespace>Bit.Core.Test</RootNamespace>
|
2024-01-15 21:18:51 +01:00
|
|
|
|
|
|
|
|
|
<!-- Uncomment this to load the referenced projects into this one. I've added the restriction so it doesn't mess up with the restore.
|
|
|
|
|
This is useful when working with the test project.
|
|
|
|
|
<CustomConstants>UT</CustomConstants>
|
|
|
|
|
-->
|
2021-01-25 21:27:38 +01:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2024-01-15 21:18:51 +01:00
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
|
|
<DefineConstants>TRACE;DEBUG;NET;NET8_0;NETCOREAPP</DefineConstants>
|
|
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemGroup>
|
2023-08-16 18:48:54 +02:00
|
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.0" />
|
2023-05-11 17:13:30 +02:00
|
|
|
|
<PackageReference Include="NSubstitute" Version="5.0.0" />
|
2023-08-16 18:48:54 +02:00
|
|
|
|
<PackageReference Include="xunit" Version="2.5.0" />
|
|
|
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
|
2021-01-25 21:27:38 +01:00
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
|
|
|
</PackageReference>
|
2023-05-11 17:13:30 +02:00
|
|
|
|
<PackageReference Include="AutoFixture.Xunit2" Version="4.18.0" />
|
|
|
|
|
<PackageReference Include="AutoFixture.AutoNSubstitute" Version="4.18.0" />
|
2021-01-25 21:27:38 +01:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2024-01-15 21:18:51 +01:00
|
|
|
|
<ProjectReference Condition="$(CustomConstants.Contains(UT))" Include="..\..\src\Core\Core.csproj" />
|
|
|
|
|
<ProjectReference Condition="$(CustomConstants.Contains(UT))" Include="..\common\Common.csproj" />
|
2021-01-25 21:27:38 +01:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
</Project>
|