forked from adamralph/minver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
24 lines (21 loc) · 964 Bytes
/
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
<Project>
<PropertyGroup>
<AnalysisMode>All</AnalysisMode>
<DebugType>embedded</DebugType>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- 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>