Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Configuring automatic versioning for dependent NuGet packages

$
0
0

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?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>