My situation is as follows. I'm maintaining a reusable codebase in the form of multiple NuGet packages that are dependent on eachother. To simplify, let's say I have the following two projects:
- Example
- Example.Core
In this case, Example
depends on Example.Core
. Currently I have GitVersion in place to automatically generate the correct version for each NuGet package.
In the .nuspec
file of Example
I have the following configured:
<dependencies><dependency id="Example.Core" version="3.4.0" /></dependencies>
But... everytime I update the package I have to manually bump up the dependency version, eventhough I have GitVersion setup. I feel like there is an easier and more stable way to do this.
Do you guys have any tips to improve this?