You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect to see my gitversion; instead, I see the default assembly version, v1.0.0. I noticed that AssemblyInfo.g.cs file is not generated when I run dotnet build.
The problem only occurs in v6.0.2. In v5.12.0, the gitversion is correctly outputted (and AssemblyInfo.g.cs file correctly autogenerated).
Steps to Reproduce
See above
RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).
No response
The text was updated successfully, but these errors were encountered:
seandkim
changed the title
[ISSUE]: GitVersion MSBuild v.6.0.2 does not generate AssemblyInfo.g.cs
[ISSUE]: GitVersion MSBuild v.6.0.2 does not generate AssemblyInfo.g.cs needed to override AssemblyVersion
Sep 2, 2024
Prerequisites
GitVersion package
GitVersion.MsBuild
GitVersion version
6.0.2
Operating system
Windows
What are you seeing?
I have a simple console app with the following:
Program.cs
.csproj
fileI added a git tag so my gitversion output is
What is expected?
I expect to see my gitversion; instead, I see the default assembly version, v1.0.0. I noticed that AssemblyInfo.g.cs file is not generated when I run
dotnet build
.The problem only occurs in v6.0.2. In v5.12.0, the gitversion is correctly outputted (and AssemblyInfo.g.cs file correctly autogenerated).
Steps to Reproduce
See above
RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).
No response
The text was updated successfully, but these errors were encountered: