I have a local NuGet feed. This feed contains a dependency and that dependency is on nuget.org.
This is in my nuspec file:
<dependencies>
<dependency id="log4net" version="[1.2.10]" />
</dependencies>
How can I specify that NuGet has to look in nuget.org for this dependency? I currently receive:
Install-Package : Unable to resolve dependency 'log4net (= 1.2.10)'.
When I perform an Install-Package via the Package Manager Console in Visual Studio.
In your Package manager console, the top left corner has a dropdown to select the package source. Make sure you have selected "All" when you try to install packages that might have dependencies from other package sources.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With