mirror of
https://github.com/chylex/.NET-Community-Toolkit.git
synced 2024-11-24 16:42:45 +01:00
14 lines
484 B
XML
14 lines
484 B
XML
<Project>
|
|
|
|
<Import Project="$(BuildToolsDirectory)Community.Toolkit.Common.targets" />
|
|
|
|
<Target Name="AddCommitHashToAssemblyAttributes" BeforeTargets="GetAssemblyAttributes">
|
|
<ItemGroup>
|
|
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute" Condition="'$(SourceRevisionId)' != ''">
|
|
<_Parameter1>CommitHash</_Parameter1>
|
|
<_Parameter2>$(SourceRevisionId)</_Parameter2>
|
|
</AssemblyAttribute>
|
|
</ItemGroup>
|
|
</Target>
|
|
|
|
</Project> |