Fixed - see Sara Lui's link to document in comments.

I have created several NuGet packages which are available on our private Corporate NuGet gallery.

Several of these packages are dependent upon one common package.

However, when I add this to my Nuspec file:

<?xml version="1.0"?>
<package >
      <dependency id="MyCommonPackage" version="1.0">

Then it fails to install because it can't find "MyCommonPackage" - it's not looking for it in our corporate gallery:



Visual Studio has this gallery referenced, but I suspect I need to reference it in the nuspec file (just not seeing how to do this).

1 Answers

DrGriff On Best Solutions

Fixed: refer to link provided by @Sara Lui