-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
45 lines (39 loc) · 1.7 KB
/
Directory.Build.props
File metadata and controls
45 lines (39 loc) · 1.7 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<Project>
<PropertyGroup>
<Product>Infra</Product>
<Company>Lucca</Company>
<Authors>Lucca</Authors>
<Description>Haproxy agent-check probe, a feedback loop to adjust backend's weight</Description>
<Copyright>Lucca - $([System.DateTime]::Now.Year)</Copyright>
</PropertyGroup>
<PropertyGroup>
<AssemblyName>$(Company).$(Product).$(MSBuildProjectName)</AssemblyName>
<RootNamespace>$(AssemblyName)</RootNamespace>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
<LangVersion>latest</LangVersion>
<Features>strict</Features>
</PropertyGroup>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<DebugType>embedded</DebugType>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<Deterministic>true</Deterministic>
</PropertyGroup>
<Target Name="AddAssemblyMetadata" AfterTargets="InitializeSourceControlInformationFromSourceControlManager">
<ItemGroup>
<AssemblyMetadata Include="RepositoryRevision" Value="$(SourceRevisionId)"/>
<AssemblyMetadata Include="ResourceServiceNamespace" Value="$(Company).$(Product)" />
<AssemblyMetadata Include="ResourceServiceName" Value="$(MSBuildProjectName)" />
<AssemblyMetadata Include="ResourceServiceTeam" Value="Platform Tooling" />
</ItemGroup>
</Target>
</Project>