-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
39 lines (37 loc) · 1.88 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
27
28
29
30
31
32
33
34
35
36
37
38
39
<Project>
<PropertyGroup>
<Version>1.5.5.1</Version>
<Authors>Aptivi</Authors>
<Company>Aptivi</Company>
<Copyright>Copyright (c) 2023-2025 Aptivi</Copyright>
<LangVersion>latest</LangVersion>
<DebugType>portable</DebugType>
<SignAssembly>True</SignAssembly>
<Nullable>enable</Nullable>
<WarningsAsErrors>CS9057,CS8002,nullable</WarningsAsErrors>
<EnableSourceControlManagerQueries>true</EnableSourceControlManagerQueries>
<RootPath>$(MSBuildThisFileDirectory)</RootPath>
<AssemblyOriginatorKeyFile>$(RootPath)\aptivi_snk.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<IncludeSymbols>True</IncludeSymbols>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<Target Name="EnsureCommitShaInclusion" BeforeTargets="GenerateNuspec" Condition="'$(Configuration)' == 'Debug' And '$(SourceRevisionId)' != '' And '$(ContinuousIntegrationBuild)' == 'true'">
<ReadLinesFromFile File="$(RootPath)/private/BuildTargets/obj/.dtp">
<Output TaskParameter="Lines" ItemName="DateTimePart"/>
</ReadLinesFromFile>
<CreateProperty Value="$(Version)-%(DateTimePart.Identity)+$(SourceRevisionId)">
<Output TaskParameter="Value" PropertyName="PackageVersion"/>
</CreateProperty>
</Target>
<ItemGroup Condition="'$(MSBuildProjectFile)' != 'BuildTargets.csproj'">
<ProjectReference Include="$(RootPath)/private/BuildTargets/BuildTargets.csproj" PrivateAssets="All" />
</ItemGroup>
</Project>