-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
21 lines (21 loc) · 990 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
<Project>
<PropertyGroup>
<VersionPrefix>1.1.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
</PropertyGroup>
<PropertyGroup>
<AnalysisMode>Recommended</AnalysisMode>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Features>$(Features);nullablePublicOnly;</Features>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<NoWarn>$(NoWarn);EnableGenerateDocumentationFile;</NoWarn>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<UseArtifactsOutput>true</UseArtifactsOutput>
</PropertyGroup>
<PropertyGroup Condition="'$(ContinuousIntegrationBuild)' == 'true'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<VersionSuffix Condition="'$(VersionSuffix)' != ''">$(VersionSuffix).$([System.DateTimeOffset]::UtcNow.ToUnixTimeSeconds())</VersionSuffix>
<DebugType>none</DebugType>
</PropertyGroup>
<Import Project="$(MSBuildProjectDirectory)\**\Properties\Directory.Package.props" />
</Project>