-
-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathDirectory.Build.props
26 lines (23 loc) · 1.02 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
<Project>
<PropertyGroup>
<AnalysisMode>All</AnalysisMode>
<DebugType>embedded</DebugType>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>default</LangVersion>
<!-- workaround for https://github.com/dotnet/roslyn/issues/41640 -->
<NoWarn>EnableGenerateDocumentationFile</NoWarn>
<Nullable>enable</Nullable>
<!-- MinVer doesn't use MinVer for versioning because
the environment variables for the build and for the package tests
would interfere with each other. -->
<Version>0.0.0</Version>
<Version Condition="'$(MINVER_VERSION)' != ''">$(MINVER_VERSION)</Version>
<Version Condition="'$(CI_NUMBER)' != ''">$(Version)-ci.$(CI_NUMBER)</Version>
</PropertyGroup>
<PropertyGroup Condition="'$(CI)' != ''">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
</Project>