-
Notifications
You must be signed in to change notification settings - Fork 0
/
Report.msbuild
43 lines (34 loc) · 1.78 KB
/
Report.msbuild
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
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectSolutionFilePath>C:\Code.Google.Com\cleancodersstylecoprules\</ProjectSolutionFilePath>
<StyleCopPathBin>C:\Program Files (x86)\StyleCop 4.7\</StyleCopPathBin>
<StyleCopForceFullAnalysis>true</StyleCopForceFullAnalysis>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings>
<StyleCopCacheResults>false</StyleCopCacheResults>
<StyleCopOverrideSettingsFile> </StyleCopOverrideSettingsFile>
<StyleCopOutputFile>StyleCopViolations.xml</StyleCopOutputFile>
<StyleCopMaxViolationCount>1000</StyleCopMaxViolationCount>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<UsingTask AssemblyFile="$(StyleCopPathBin)\StyleCop.dll" TaskName="StyleCopTask"/>
<Target Name="StyleCopSimple">
<Message Text="Processing StyleCop..."></Message>
<CreateItem Include="$(ProjectSolutionFilePath)**\*.cs">
<Output TaskParameter="Include" ItemName="StyleCopFiles"/>
</CreateItem>
<StyleCopTask
ProjectFullPath="$(ProjectSolutionFilePath)"
SourceFiles="@(StyleCopFiles)"
AdditionalAddinPaths="@(StyleCopAdditionalAddinPaths)"
ForceFullAnalysis="$(StyleCopForceFullAnalysis)"
DefineConstants="$(DefineConstants)"
TreatErrorsAsWarnings="$(StyleCopTreatErrorsAsWarnings)"
CacheResults="$(StyleCopCacheResults)"
OverrideSettingsFile="$(StyleCopOverrideSettingsFile)"
OutputFile="C:\Code.Google.Com\cleancodersstylecoprules\$(StyleCopOutputFile)"
MaxViolationCount="$(StyleCopMaxViolationCount)"
/>
</Target>
</Project>