forked from DataDog/stickerlandia
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.build.props
More file actions
17 lines (16 loc) · 803 Bytes
/
Copy pathDirectory.build.props
File metadata and controls
17 lines (16 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<Project>
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- Override VERSION env var that MSBuild picks up - prevents 'latest' being used as package version -->
<Version>1.0.0</Version>
<!-- Configure code analysis. -->
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>All</AnalysisMode>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<EnforceCodeStyleInBuild Condition="'$(Configuration)' != 'Release'">true</EnforceCodeStyleInBuild>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)\CodeAnalysis.props"
Condition=" '$(SkipCodeAnalysis)' != 'True' " />
</Project>