forked from snatch-dev/Convey
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
36 lines (31 loc) · 1.43 KB
/
Copy pathDirectory.Build.props
File metadata and controls
36 lines (31 loc) · 1.43 KB
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
30
31
32
33
34
35
36
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
<PropertyGroup>
<NoWarn>$(NoWarn);CS8604;CS8602;CS8600;CS8618</NoWarn>
<WarningsAsErrors>false</WarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<CollectCoverage>true</CollectCoverage>
<CoverletOutputFormat>cobertura</CoverletOutputFormat>
<CoverletOutput>$(OutputPath)coverage/</CoverletOutput>
</PropertyGroup>
<PropertyGroup>
<SourceProjectName>$(MSBuildProjectName.Replace('.Tests', ''))</SourceProjectName>
</PropertyGroup>
<ItemGroup>
<ProjectReference
Include="..\..\src\$(SourceProjectName)\src\$(SourceProjectName)\$(SourceProjectName).csproj"
Condition="Exists('..\..\src\$(SourceProjectName)\src\$(SourceProjectName)\$(SourceProjectName).csproj')" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="8.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="Shouldly" Version="4.3.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>