25 lines
1023 B
XML
25 lines
1023 B
XML
|
|
<Project>
|
||
|
|
|
||
|
|
<!-- Inherit the repo-root Directory.Build.props (MSBuild stops at the first one it finds
|
||
|
|
walking up, so test projects must import the parent explicitly), then add the shared
|
||
|
|
test settings + the common xUnit v3 package set. -->
|
||
|
|
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
|
||
|
|
|
||
|
|
<PropertyGroup>
|
||
|
|
<IsPackable>false</IsPackable>
|
||
|
|
<IsTestProject>true</IsTestProject>
|
||
|
|
<OutputType>Exe</OutputType>
|
||
|
|
<!-- Analyzer rules that fight idiomatic test code:
|
||
|
|
CA1707 underscored test names · CA1711 xUnit [CollectionDefinition] "Collection" suffix
|
||
|
|
· xUnit1051 TestContext cancellation token (not needed for these short tests). -->
|
||
|
|
<NoWarn>$(NoWarn);CA1707;CA1711;xUnit1051</NoWarn>
|
||
|
|
</PropertyGroup>
|
||
|
|
|
||
|
|
<ItemGroup>
|
||
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" />
|
||
|
|
<PackageReference Include="xunit.v3" />
|
||
|
|
<PackageReference Include="xunit.runner.visualstudio" />
|
||
|
|
</ItemGroup>
|
||
|
|
|
||
|
|
</Project>
|