-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Testing.props
29 lines (24 loc) · 1.03 KB
/
Directory.Testing.props
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
26
27
28
29
<Project>
<PropertyGroup Condition="'$(Configuration)'!='Release'">
<EnableMSTestRunner>true</EnableMSTestRunner>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup Condition="'$(Configuration)'!='Release'">
<PackageReference Include="MsTest" />
<PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" />
<PackageReference Include="Microsoft.CodeCoverage.MSBuild" />
<ProjectReference Include="../Security.Testing/Security.Testing.csproj"/>
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<IsTestProject>false</IsTestProject>
</PropertyGroup>
<ItemGroup Condition="'$(Configuration)'=='Release'">
<Compile Remove="**/*.Tests.cs" />
<!-- <See> Microsoft.NET.Test.Sdk package
build/netcoreapp3.1/Microsoft.NET.Test.Sdk.targets
build/netcoreapp3.1/Microsoft.NET.Test.Sdk.props
build/netcoreapp3.1/Microsoft.NET.Test.Sdk.Program.cs
</See> -->
<Compile Remove="@(RemoveExistingMicrosoftNETTestSdkProgram)" />
</ItemGroup>
</Project>