Skip to content

Commit

Permalink
fix product version including commit hash in .NET 8+
Browse files Browse the repository at this point in the history
  • Loading branch information
radj307 committed Nov 22, 2023
1 parent e1689da commit 30dbbf6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<!-- This prevents the commit hash from being appended to the version number in .NET 8+ (see https://github.com/dotnet/msbuild/issues/9434 & https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/source-link) -->
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
</Project>

0 comments on commit 30dbbf6

Please sign in to comment.