forked from gitextensions/gitextensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FxCop.targets
14 lines (14 loc) · 840 Bytes
/
FxCop.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<RunCodeAnalysis>true</RunCodeAnalysis>
<!-- If there's the FxCop.Targets.Off.User marker file in the same folder as this one (=root), turn off analyses. -->
<RunCodeAnalysis Condition="Exists('$(MSBuildThisFile).Off.User')">False</RunCodeAnalysis>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)FxCopRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<CodeAnalysisDictionary Include="$(MSBuildThisFileDirectory)CustomDictionary.xml" />
</ItemGroup>
<!-- Override settings locally, e.g. turn off for faster compilation. -->
<Import Project="$(MSBuildThisFile).User" Condition="Exists('$(MSBuildThisFile).User')" />
</Project>