NuGet can't resolve a dependency when updating a local package with dependencies from online repositories using Visual Studio 2015 Update 1

13,659

The latest NuGet Package Manager (3.4.1.807) fixes this issue.

Set the Package Source to All and they will update across different package sources.

Share:
13,659
Kcoder
Author by

Kcoder

I code stuff!

Updated on July 27, 2022

Comments

  • Kcoder
    Kcoder almost 2 years

    This is very similar to the issue in this question: Local NuGet package dependencies - resolve from official Nuget feed?

    I have a local package whose latest update now has a dependency of EnterpriseLibrary.TransientFaultHandling from NuGet.org. When I attempt to update the package, I get the following error:

    Unable to resolve dependency 'EnterpriseLibrary.TransientFaultHandling'. Source(s) used: 'nuget.org', '(My Company)', 'Microsoft and .NET'.

    In VS 2013, it updates without any issue. In VS 2015, as a workaround, I have to manually install the dependency and then I can do the update.

    Am I missing something or is this just a bug in VS 2015?