-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.build.props
28 lines (26 loc) · 1.31 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
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Company>Unlocked Data</Company>
<Product>UnlockedData.NoUiSlider</Product>
<IncludeSymbols>true</IncludeSymbols>
<RepositoryType>git</RepositoryType>
<Licence>https://raw.githubusercontent.com/UnlockedData/UnlockedData.NoUiSlider/main/LICENSE</Licence>
<RepositoryUrl>https://github.com/UnlockedData/UnlockedData.NoUiSlider</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.4.244" PrivateAssets="all" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>
<Target Name="AddCommitHashToAssemblyAttributes" BeforeTargets="GetAssemblyAttributes">
<ItemGroup>
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute" Condition=" '$(SourceRevisionId)' != '' ">
<_Parameter1>CommitHash</_Parameter1>
<_Parameter2>$(SourceRevisionId)</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
</Target>
</Project>