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

dotnet pack version issues

$
0
0

I'm trying to create a central nuget package containing stylecop rules with a custom rule set for consumption by other projects. Let call this Package A.

Package A builds fine using dotnet pack and I can pull this into another project and the stylecop rules come through - so that is good.

Now we have Package B which itself is built as a nuget package, when consuming Package A locally and testing this is all fine.

But when deploying and building Package B and when that issues it's own dotnet pack command, it fails because it is trying to reference the dependency on Package A using the version number generated for Package B. So it is like ignoring the version of Package A which has obviously been set in the csproj of Package B.

I am using circleci as the CI tool, the project are using .net core 3.1.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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