[Docs] Recommend disabling GenerateAssemblyFileVersionAttribute MSBuild prop #2841
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
By default, DotNet SDK-style projects will generate all assembly info with or without assemblyinfo.cs.
The only
Related Issue
Closes #2840
Motivation and Context
After upgrading a .NET Framework project to build with the DotNet SDK whilst still targetting net4.6.2, I had run into a build error which was easily traced to a conflict with GitVersion's assembly info.
How Has This Been Tested?
Trial and error and hours of scouring MS Docs until I narrowed down the minimal changes needed to resolve the build error.
HaloSPV3/HXE@c3267e0
https://gist.github.com/BinToss/334f5bd8677a7e27fa2e1848d5eb7c53#file-output-log-L2575-L2579
Screenshots (if appropriate):
If NOT
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
Checklist:
@asbjornu