Skip to content

Commit

Permalink
Remove git hash from informational version
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Apr 27, 2024
1 parent 0e9a400 commit 6be0440
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@
<DebugType Condition=" '$(PortableDebugTypeOnly)' == 'true' ">portable</DebugType>
</PropertyGroup>

<PropertyGroup Label="Versioning">
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>

<Target Name="AddInternalsVisibleTo" BeforeTargets="BeforeCompile" Label="Adds InternalsVisibleTo Attribute and PublicKey (if supplied)">
<ItemGroup Condition="'@(InternalsVisibleTo->Count())' &gt; 0 ">
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
Expand Down

0 comments on commit 6be0440

Please sign in to comment.