Skip to content

Commit 30dbbf6

Browse files
committed
fix product version including commit hash in .NET 8+
1 parent e1689da commit 30dbbf6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Directory.Build.props

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project>
3+
<PropertyGroup>
4+
<!-- 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) -->
5+
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
6+
</PropertyGroup>
7+
</Project>

0 commit comments

Comments
 (0)