-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET 8: New hash added to product version, can't find a workaround or find info about this change #36885
Comments
This is a result of the Source Link integration in the .NET 8 SDK. Source Link looks for version control data in your project's source tree to enhance debug information and assembly metadata. The .NET 8 SDK automatically enables Source Link for all projects (as documented in the release notes). Source Link sets the
So, the hash you're seeing is the current Git commit hash at the time the library was built. Setting |
This is terrible behaviour to enable by default, especially when most .net8 documentation pages fail to mention it. |
@thedarkfalcon can't you set it in Directory.Build.props, or in the MSBuild |
Describe the bug
To Reproduce
Exceptions (if any)
Further technical details
dotnet --info
The text was updated successfully, but these errors were encountered: