This repository has been archived by the owner on Oct 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
solution.targets
99 lines (81 loc) · 3.49 KB
/
solution.targets
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition="'$(SkipSolutionInfo)' != 'true'">
<Compile Include="$(SolutionDir)SolutionInfo.cs">
<Link>Properties\SolutionInfo.cs</Link>
</Compile>
</ItemGroup>
<!-- ## Uncomment to customize targets ## -->
<!-- ## Using NUnit (default) ##
<Target Name="Test" DependsOnTargets="Build;TestWithNUnit"/>
<Target Name="Coverage" DependsOnTargets="Build;OpenCoverWithNUnit"/>
-->
<!-- ## Using XUnit (default) ##
<Target Name="Test" DependsOnTargets="Build;TestWithXUnit"/>
<Target Name="Coverage" DependsOnTargets="Build;OpenCoverWithXUnit"/>
-->
<!-- ## Default targets ##
<Target Name="CoverageReport" DependsOnTargets="OpenCoverReport"/>
<Target Name="Package" DependsOnTargets="PackageWithNuGet"/>
<Target Name="Deploy" DependsOnTargets="DeployWithNuGet"/>
-->
<!-- ## An example to override the test project pattern, so
tests will be run on all assemblies in the output directory matching "*.Tests.dll"
<PropertyGroup>
<TestsProjectPattern>*.Tests.dll</TestsProjectPattern>
<IsTestsAssembly>false</IsTestsAssembly>
<IsTestsAssembly Condition="$(AssemblyName.Contains('.Tests'))">true</IsTestsAssembly>
</PropertyGroup>
## Adjust the OpenCover filter
<Choose>
<When Condition="$(IsTestsAssembly)">
<PropertyGroup>
<AssemblyToTest>$(AssemblyName.Substring(0, $(AssemblyName.LastIndexOf('.Tests'))))</AssemblyToTest>
<TestsAssembly>$(AssemblyName)</TestsAssembly>
<OpenCoverFilter>+[$(AssemblyToTest)]* -[$(TestsAssembly)]* -[FluentAssertions]*</OpenCoverFilter>
</PropertyGroup>
</When>
</Choose>
-->
<!-- ## An example to customize the 'Test' target:
<Target Name="Test" DependsOnTargets="MyTest" />
<Target Name="MyTest" >
<Warning Text="TODO: add steps for your favourite test runner" />
</Target>
-->
<!-- ## Let coverage succeed even when test fail (for feature branches):
<PropertyGroup>
<CoverageFailOnTargetFail>false</CoverageFailOnTargetFail>
</PropertyGroup>
-->
<!-- ## Using NUnit 2:
<PropertyGroup>
<UseNUnit2>true</UseNUnit2>
<NUnitResultFormat>nunit2</NUnitResultFormat>
</PropertyGroup>
-->
<!--## Specifying your repository token for coveralls.io -->
<PropertyGroup>
<CoverAllsToken>glmjDLgnrvUTgPa3Ot1P8TbaBjm4PwX50</CoverAllsToken>
</PropertyGroup>
<!-- ## Uncomment to override the default nuget server to push packages to in the 'Deploy' target
<PropertyGroup>
<NugetSourceToDeploy>https://www.nuget.org</NugetSourceToDeploy>
</PropertyGroup>
-->
<!-- ## Uncomment to override the default filename 'Package.nuspec' of your NuGet package files:
<PropertyGroup>
<NuspecFile>Package.nuspec</NuspecFile>
</PropertyGroup>
-->
<!-- ## An example to customize the 'Deploy' target to use ClickOnce publishing:
<Target Name="Deploy" DependsOnTargets="Publish" />
-->
<!-- ## Allowing local deployment (non build server):
<PropertyGroup>
<DeployFailOnBuildNotSet>false</DeployFailOnBuildNotSet>
</PropertyGroup>
-->
<!-- ## Automatically import project-specific overrides (place this last) -->
<Import Project="$(ProjectDir)\$(ProjectName).targets" Condition="Exists('$(ProjectDir)\$(ProjectName).targets')"/>
</Project>