forked from aspnet/WebHooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
61 lines (51 loc) · 2.82 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<Project>
<!-- Imported only from .NET Core and .NET Standard projects. See conditions in lower-level Directory.Build.props files -->
<Import Project="version.props" />
<!-- Ensure changes to this file and version.props cause project rebuilds. -->
<PropertyGroup>
<RepositoryRoot Condition=" '$(RepositoryRoot)' == '' ">$([System.IO.Path]::GetFullPath( '$(MSBuildThisFileDirectory)' ))</RepositoryRoot>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<MSBuildAllProjects>$(MSBuildAllProjects);$(RepositoryRoot)version.props</MSBuildAllProjects>
</PropertyGroup>
<!-- Common package options. -->
<PropertyGroup>
<Authors>Microsoft</Authors>
<Company>Microsoft Corporation.</Company>
<Copyright>Copyright © Microsoft Corporation</Copyright>
<IncludeSource>true</IncludeSource>
<IncludeSymbols>true</IncludeSymbols>
<!-- Work around https://github.com/NuGet/Home/issues/4726 -->
<IncludeSymbols Condition=" '$(NuspecFile)' != '' ">false</IncludeSymbols>
<LangVersion>7.1</LangVersion>
<NeutralLanguage>en-US</NeutralLanguage>
<NoPackageAnalysis>true</NoPackageAnalysis>
<PackageIconUrl>https://go.microsoft.com/fwlink/?LinkID=288859</PackageIconUrl>
<PackageLicenseUrl>https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt</PackageLicenseUrl>
<PackageProjectUrl>https://asp.net</PackageProjectUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
</PropertyGroup>
<!-- Default $(AssemblyRevision) when manually building an individual project. -->
<PropertyGroup>
<_TwoDigitYear>$([MSBuild]::Subtract($([System.DateTime]::UtcNow.Year), 2000))</_TwoDigitYear>
<_ThreeDigitDayOfYear>$([System.DateTime]::UtcNow.DayOfYear.ToString().PadLeft(3, '0'))</_ThreeDigitDayOfYear>
<AssemblyRevision Condition=" '$(AssemblyRevision)' == '' ">$(_TwoDigitYear)$(_ThreeDigitDayOfYear)</AssemblyRevision>
</PropertyGroup>
<!-- Additional specifics of this repository. -->
<PropertyGroup>
<Product>Microsoft ASP.NET Core WebHooks</Product>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/aspnet/WebHooks</RepositoryUrl>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AssemblyOriginatorKeyFile>$(RepositoryRoot)tools\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<SignAssembly>true</SignAssembly>
<!-- Must delay-sign the assemblies because 35MSSharedLib1024.snk contains no private key. -->
<DelaySign>true</DelaySign>
</PropertyGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
<_Parameter1>BuildNumber</_Parameter1>
<_Parameter2>$(BuildNumber)</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
</Project>