-
Notifications
You must be signed in to change notification settings - Fork 0
/
solution.targets
60 lines (51 loc) · 2.09 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
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- TODO: Adjust version -->
<PackageVersion>1.0.0.$(Build)</PackageVersion>
</PropertyGroup>
<!-- ## Uncomment to customize targets to customize test ##
<Target Name="Test" DependsOnTargets="TestWithNUnit"/>
<Target Name="Coverage" DependsOnTargets="OpenCoverWithNUnit"/>
<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>
-->
<!-- ## 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" />
-->
</Project>