ProjectReference
has a incorrect version in nuget package
#3378
Answered
by
HHobeck
SongOfYouth
asked this question in
Q&A
-
Describe the bug Expected Behaviorthe dependency version is same with B. |
Beta Was this translation helpful? Give feedback.
Answered by
HHobeck
May 17, 2023
Replies: 1 comment 3 replies
-
Could you please give us more information about what you are trieng to achieve? Generally GitVersion is a tool to generate a semantic version based on the state of a git repository. Your question seems to me out of the scope of GitVersion. It would be very helpful to find the root course of your issue before creating a bug. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Normally you are referencing the nuget package directly instead of a project reference if it is an external library. But if you referencing the project itself it means it is part of your repository and part of your versioning strategy which will be determined (on a build server) using GitVersion. In that case the version will be given from GitVersion to the compiler so the referenced project has the desired version reference as well.
Happy Branching!