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 am using Azure DevOps Pipelines to build my ASP.NET core application. recently i have added the Git Version Task between the Restore and Build .NET Core Tasks.
GitVersion is working perfect and generating a version number.
But after downloading the Artifacts i checked the Assembly version and file version and it has version 1.0.0.0 without applying the version number generated by the GitVersion Task.
I am using GitVersion Task Version 5
I am using the below configuration to force the use of the generated version in the Build Task
--configuration $(BuildConfiguration) -p:Version=$(GitVersion.SemVer)
The text was updated successfully, but these errors were encountered:
Hi @makhaly, this is probably a duplicate of #1611. Have a look at the powershell I use in that issue. That is how I got around this until GitVersion supports updating versions in the sdk project format.
This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs. Thank you for your contributions.
I am using Azure DevOps Pipelines to build my ASP.NET core application. recently i have added the Git Version Task between the Restore and Build .NET Core Tasks.
GitVersion is working perfect and generating a version number.
But after downloading the Artifacts i checked the Assembly version and file version and it has version 1.0.0.0 without applying the version number generated by the GitVersion Task.
I am using GitVersion Task Version 5
I am using the below configuration to force the use of the generated version in the Build Task$(BuildConfiguration) -p:Version=$ (GitVersion.SemVer)
--configuration
The text was updated successfully, but these errors were encountered: