-
Notifications
You must be signed in to change notification settings - Fork 650
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
[Bug] Support version conversion on worker service project #2629
Comments
Do you mind filling in a PR? You can have a look here GitVersion/src/GitVersion.Core/VersionConverters/AssemblyInfo/ProjectFileUpdater.cs Line 114 in 8937c25
GitVersion/src/GitVersion.Core.Tests/VersionConverters/ProjectFileUpdaterTests.cs Line 54 in 8937c25
|
Yes, I already found the culprit line of code :-) but I was indeed looking for a test in which to reproduce the problem. Thanks! |
🎉 This issue has been resolved in version 5.6.7 🎉 Your GitReleaseManager bot 📦🚀 |
Describe the bug
The Execute GitVersion Task on our Azure DevOps build pipeline is defined as follows:
One of the projects is a .NET 5 worker service. When the build pipeline executes the Execute GitVersion Task, we receive the following warning :
Expected Behavior
A .NET 5 worker service should be supported. The DLL's file version property should be set by GitVersion.
Actual Behavior
The above warning is output.
The DLL's file version property is not set by GitVersion.
Possible Fix
Allow
Microsoft.NET.Sdk.Worker
.Steps to Reproduce
Context
For the time being: low impact.
DLL has a default file version set (1.0.0.0).
The Execute GitVersion Task only logs a warning and continues without error.
Your Environment
Azure DevOps YAML pipeline.
The text was updated successfully, but these errors were encountered: