-
-
Notifications
You must be signed in to change notification settings - Fork 333
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
25 lines (21 loc) · 828 Bytes
/
Directory.Build.targets
File metadata and controls
25 lines (21 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<Project>
<Choose>
<When Condition="$(MSBuildProjectName.Contains('UnitTest'))">
<ItemGroup>
<Compile Include="..\TestCommon.cs" Link="TestCommon.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<!-- Coverlet MSBuild integration -->
<PackageReference Include="coverlet.msbuild" Version="3.2.0" />
<PackageReference Include="NUnit.Analyzers" Version="3.10.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
</When>
</Choose>
</Project>