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
However, GitVersion doesn't seem to do anything. Version is always 0.0.0.0 in the published build and the pipeline logs don't have anything mentioning GitVersion.
Since version 6.0 only MSBuild running on .NET Core (dotnet msbuild) is supported.
According the MSDN docsdotnet build is using dotnet msbuild:
dotnet build uses MSBuild to build the project. [...] Running dotnet buildis equivalent to running dotnet msbuild -restore
So, is this supported, and if so, can anyone suggest what I might be doing wrong?
I have previously used GitVersion successfully with the GitTools Task however I'd prefer to use the nuget package as it's less dependent on the pipeline configuration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a project with a GitVersion.yml config and an Azure DevOps pipeline that builds using the following:
The GitVersion.MsBuild package has been added to the project:
However, GitVersion doesn't seem to do anything. Version is always 0.0.0.0 in the published build and the pipeline logs don't have anything mentioning GitVersion.
The GitVersion docs for MSBuild state:
According the MSDN docs
dotnet build
is usingdotnet msbuild
:So, is this supported, and if so, can anyone suggest what I might be doing wrong?
I have previously used GitVersion successfully with the GitTools Task however I'd prefer to use the nuget package as it's less dependent on the pipeline configuration.
Beta Was this translation helpful? Give feedback.
All reactions