-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
25 lines (23 loc) · 1.39 KB
/
Copy pathDirectory.Build.props
File metadata and controls
25 lines (23 loc) · 1.39 KB
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
<Project>
<!-- The package version, shared with Directory.Packages.props. See eng/Versions.props.
Both files import it and MSBuild evaluates both, so the condition is what keeps the second one
from raising MSB4011. Guarding on the property the file defines makes the pair order-
independent: whichever is evaluated first does the import and the other skips it. -->
<Import Project="$(MSBuildThisFileDirectory)eng/Versions.props"
Condition="'$(BlazorCodeFirstPackageVersion)' == ''" />
<PropertyGroup>
<LangVersion>14.0</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
<AnalysisLevel>latest-all</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- IDE0005 (unnecessary using) does not fire during build without this, regardless of its
.editorconfig severity (#105, https://github.com/dotnet/roslyn/issues/41640). It also turns
on CS1591 and its XML-doc-comment siblings repo-wide; .editorconfig suppresses those by
default and restores them only for src/, the code that ships in the package. -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
</Project>