|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<Project> |
| 3 | + |
| 4 | + <PropertyGroup> |
| 5 | + <Description>An implementation of StyleCop rules using the .NET Compiler Platform</Description> |
| 6 | + <Product>StyleCop.Analyzers</Product> |
| 7 | + <Company>Tunnel Vision Laboratories, LLC</Company> |
| 8 | + <Copyright>Copyright © Sam Harwell 2015</Copyright> |
| 9 | + </PropertyGroup> |
| 10 | + |
| 11 | + <PropertyGroup> |
| 12 | + <EnableDefaultNoneItems>False</EnableDefaultNoneItems> |
| 13 | + </PropertyGroup> |
| 14 | + |
| 15 | + <PropertyGroup> |
| 16 | + <LangVersion>6</LangVersion> |
| 17 | + <Features>strict</Features> |
| 18 | + </PropertyGroup> |
| 19 | + |
| 20 | + <PropertyGroup Condition="'$(BuildingInsideVisualStudio)' != 'true'"> |
| 21 | + <!-- Ideally this is always enabled, but that tends to hurt developer productivity --> |
| 22 | + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
| 23 | + </PropertyGroup> |
| 24 | + |
| 25 | + <PropertyGroup Condition="'$(Configuration)' == 'Debug'"> |
| 26 | + <DebugType>full</DebugType> |
| 27 | + <DebugSymbols>true</DebugSymbols> |
| 28 | + </PropertyGroup> |
| 29 | + |
| 30 | + <PropertyGroup Condition="'$(Configuration)' == 'Release'"> |
| 31 | + <DebugType>pdbonly</DebugType> |
| 32 | + <DebugSymbols>true</DebugSymbols> |
| 33 | + </PropertyGroup> |
| 34 | + |
| 35 | + <PropertyGroup> |
| 36 | + <!-- |
| 37 | + Make sure any documentation comments which are included in code get checked for syntax during the build, but do |
| 38 | + not report warnings for missing comments. |
| 39 | +
|
| 40 | + CS1573: Parameter 'parameter' has no matching param tag in the XML comment for 'parameter' (but other parameters do) |
| 41 | + CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member' |
| 42 | + --> |
| 43 | + <GenerateDocumentationFile>True</GenerateDocumentationFile> |
| 44 | + <NoWarn>$(NoWarn),1573,1591</NoWarn> |
| 45 | + </PropertyGroup> |
| 46 | + |
| 47 | + <ItemGroup> |
| 48 | + <PackageReference Include="AsyncUsageAnalyzers" Version="1.0.0-alpha003" PrivateAssets="all" /> |
| 49 | + <PackageReference Include="StyleCop.Analyzers" Version="1.1.0-beta004" PrivateAssets="all" /> |
| 50 | + </ItemGroup> |
| 51 | + |
| 52 | + <ItemGroup> |
| 53 | + <None Include="$(MSBuildThisFileDirectory)StyleCop.Analyzers.Internal.ruleset"> |
| 54 | + <Link>StyleCop.Analyzers.Internal.ruleset</Link> |
| 55 | + </None> |
| 56 | + <None Include="$(MSBuildThisFileDirectory)StyleCop.Analyzers.ruleset"> |
| 57 | + <Link>StyleCop.Analyzers.ruleset</Link> |
| 58 | + </None> |
| 59 | + </ItemGroup> |
| 60 | + |
| 61 | + <ItemGroup> |
| 62 | + <AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json"> |
| 63 | + <Link>stylecop.json</Link> |
| 64 | + </AdditionalFiles> |
| 65 | + </ItemGroup> |
| 66 | + |
| 67 | +</Project> |
0 commit comments