-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSettings.Targets
108 lines (95 loc) · 5.15 KB
/
Settings.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
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="utf-8"?>
<!--
==================================================
Settings file for VS and external build files
==================================================
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<PropertyGroup>
<SettingsLoaded>true</SettingsLoaded>
</PropertyGroup>
<!-- Root Path definition relative for actual build file -->
<PropertyGroup>
<RootPath Condition=" '$(RootPath)' == '' ">$(MSBuildProjectDirectory)</RootPath>
</PropertyGroup>
<!-- Names -->
<PropertyGroup>
<GeneralProjectName>Four2n.Commons</GeneralProjectName>
</PropertyGroup>
<!-- Project folders -->
<PropertyGroup>
<BuildPath>$(RootPath)\build</BuildPath>
<TestResultsPath>$(BuildPath)\test-results</TestResultsPath>
<PackagesPath>$(RootPath)\packages</PackagesPath>
<ToolsPath>$(RootPath)\tools</ToolsPath>
</PropertyGroup>
<!-- Project files -->
<PropertyGroup>
<TestDetectionExpression>([.])((Performance|Acceptance|Integration|Unit)?Test[s]{0,1})</TestDetectionExpression>
<PerformanceTestDetectionExpression>([.])(PerformanceTest[s]{0,1})</PerformanceTestDetectionExpression>
<AcceptanceTestDetectionExpression>([.])(AcceptanceTest[s]{0,1})</AcceptanceTestDetectionExpression>
<IntegrationTestDetectionExpression>([.])(IntegrationTest[s]{0,1})</IntegrationTestDetectionExpression>
<UnitTestDetectionExpression>([.])((Unit)?Test[s]{0,1})</UnitTestDetectionExpression>
<SolutionPath>$(RootPath)\$(GeneralProjectName).sln</SolutionPath>
<TestedAssembliesReplaceExpression>((.*\\|^)(?=[^\\]*$))|($(TestDetectionExpression).*$)</TestedAssembliesReplaceExpression>
<TestedAssembliesDetectionExpression1>(?<=((\\|^)(?=[^\\]*$))).*(?=($(TestDetectionExpression).*$))</TestedAssembliesDetectionExpression1>
</PropertyGroup>
<!-- 3rd Party Program Paths -->
<PropertyGroup>
<MSBuildExtensionsPath Condition="Exists('$(ToolsPath)\msbuild')" >$(ToolsPath)\msbuild</MSBuildExtensionsPath>
<InternetBrowser>"C:\Program Files\Internet Explorer\iexplore.exe"</InternetBrowser>
</PropertyGroup>
<!-- Unit Test Definitions -->
<PropertyGroup>
<TestResultsPath>$(BuildPath)\test-results</TestResultsPath>
<TestResultXmlFile>$(TestResultsPath)\nunit-results.xml</TestResultXmlFile>
<TestResultTxtFile>$(TestResultsPath)\nunit-results.txt</TestResultTxtFile>
<TestOutputFile>$(TestResultsPath)\nunit-output.txt</TestOutputFile>
<TestSummaryFile>$(TestResultsPath)\nunit-summary.txt</TestSummaryFile>
<TestCommandParameters>/xml=$(TestResultXmlFile) /output=$(TestOutputFile) /nologo</TestCommandParameters>
<NUnitPath>$(PackagesPath)\NUnit.2.5.10.11092</NUnitPath>
<NUnitConsole>$(NUnitPath)\Tools\nunit-console-x86.exe</NUnitConsole>
</PropertyGroup>
<!-- Coverage Definitions-->
<PropertyGroup>
<CoverageResultsPath>$(BuildPath)\coverage-results</CoverageResultsPath>
<CoverageLogFile>$(CoverageResultsPath)\coverage.log</CoverageLogFile>
<CoverageXmlFile>$(CoverageResultsPath)\coverage.xml</CoverageXmlFile>
<CoverageXmlReportFile>$(CoverageResultsPath)\coverage-report.xml</CoverageXmlReportFile>
<CoverageHtmlReportFile>$(CoverageResultsPath)\coverage-report.html</CoverageHtmlReportFile>
<NCoverPath>$(ToolsPath)\ncover</NCoverPath>
<NCoverExplorerPath>$(ToolsPath)\ncoverexplorer</NCoverExplorerPath>
<NCoverExplorerTaskAssembly>$(NCoverExplorerPath)\NCoverExplorer.MSBuildTasks.dll</NCoverExplorerTaskAssembly>
</PropertyGroup>
<ItemGroup>
<ModuleThreshold Include="BusinessEntities.dll=20" />
<ModuleThreshold Include="BusinessLogicLayer.dll=75" />
</ItemGroup>
<!-- StyleCop Properties-->
<PropertyGroup>
<StyleCopPath>$(ToolsPath)\stylecop</StyleCopPath>
<StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings>
<StyleCopEnabled>false</StyleCopEnabled>
</PropertyGroup>
<!-- Signing Properties-->
<PropertyGroup>
<SignAssembly Condition="$(SignAssembly) == ''">true</SignAssembly>
<AssemblyOriginatorKeyFile>$(RootPath)\$(GeneralProjectName).snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<AllConfigurations Include="Debug"/>
<AllConfigurations Include="Release"/>
</ItemGroup>
<!-- AssemblyInfo Properties -->
<PropertyGroup>
<ToGenerateAssemblyInfo>true</ToGenerateAssemblyInfo>
<AssemblyInfoFile>Properties\AssemblyInfo.cs</AssemblyInfoFile>
<AssemblyTitle>$(GeneralProjectName) - $(AssemblyTitle)</AssemblyTitle>
<AssemblyDescription>Utility Libraries.</AssemblyDescription>
<AssemblyCompany>42n</AssemblyCompany>
<AssemblyCopyright>Copyright 2006-2013 rod - Daniel Dabrowski - 42n</AssemblyCopyright>
<AssemblyProduct>$(GeneralProjectName)</AssemblyProduct>
<AssemblyVersion>1.2</AssemblyVersion>
<AllowPartiallyTrustedCallers>True</AllowPartiallyTrustedCallers>
</PropertyGroup>
</Project>