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

Creating and installing a nuget package with referenced project

$
0
0

I want to publish a dotnetcore2.1 nuget package using dotnet pack and dotnet nuget push.

The package is a project in a solution that has a reference to another project in that solution.

I can't install the package because it can't resolve the referenced project.

I tried doing this, and it includes the referenced package .dll to the .nupkg file, but it's still not possible to install it.

I can't really figure out what is the 'expected' way to do this. I definitely don't intend to publish the referenced project to the nuget feed.

Is this a massive oversight by microsoft or am I not getting something?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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