forked from fossabot/Xenial.Identity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
67 lines (61 loc) · 2.86 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
62
63
64
65
66
67
<Project>
<PropertyGroup>
<Product>Xenial.Framework</Product>
<MinVerTagPrefix>v</MinVerTagPrefix>
<LangVersion>preview</LangVersion>
<Copyright>Copyright © Xenial, Manuel Grundner $([System.DateTime]::Today.ToString('yyyy'))</Copyright>
<Authors>Xenial, Manuel Grundner</Authors>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts\nuget</PackageOutputPath>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<IncludeSource>True</IncludeSource>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageProjectUrl>https://www.xenial.io</PackageProjectUrl>
<RepositoryUrl>https://github.com/xenial-io/Xenial.Identity</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<PackageIcon>icon-64x64.png</PackageIcon>
<PackageIconUrl>https://blog.xenial.io/img/favicon.ico</PackageIconUrl>
<Publish>false</Publish>
<IsPackTarget>false</IsPackTarget>
<NoWarn>$(NoWarn);NU5105</NoWarn>
<Nullable>disable</Nullable>
<SatelliteResourceLanguages>en-US</SatelliteResourceLanguages>
<LastUpdate></LastUpdate>
<GitBranch></GitBranch>
<GitHash></GitHash>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)img\icon-64x64.png" Pack="true" PackagePath="\" Visible="false" />
<None Include="$(MSBuildThisFileDirectory)\LICENSE.md" Pack="true" PackagePath="\" Visible="false" />
</ItemGroup>
<ItemGroup>
<ProjectCapability Include="DynamicDependentFile" />
<ProjectCapability Include="DynamicFileNesting" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MinVer" Version="2.3.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<Target Name="AddMetadaAssemblyAttributes" BeforeTargets="CoreGenerateAssemblyInfo">
<ItemGroup>
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute" Condition="'$(LastUpdate)' != ''" >
<_Parameter1>LastUpdate</_Parameter1>
<_Parameter2>$(LastUpdate)</_Parameter2>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute" Condition="'$(GitBranch)' != ''" >
<_Parameter1>GitBranch</_Parameter1>
<_Parameter2>$(GitBranch)</_Parameter2>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute" Condition="'$(GitHash)' != ''" >
<_Parameter1>GitHash</_Parameter1>
<_Parameter2>$(GitHash)</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
</Target>
</Project>