-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDirectory.Build.props
36 lines (31 loc) · 1.23 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);1591;NU1505</NoWarn>
<RuntimeIdentifiers>win-x64;linux-x64;</RuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<NeutralLanguage>en-US</NeutralLanguage>
<IsPackable>false</IsPackable>
<Authors></Authors>
<PackageLicenseExpression></PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>false</PublishRepositoryUrl>
</PropertyGroup>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>CODE_ANALYSIS</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="!$(MSBuildProjectName.Contains('.Deployment'))">
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556" PrivateAssets="all" />
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json">
<Link>Properties\stylecop.json</Link>
</AdditionalFiles>
</ItemGroup>
</Project>