How do I resolve conflicting dependencies between my visual studio extension and the built in nuget package manager? I am getting an error that Nuget.PackageManagement.VisualStudio, Version=5.0.0.0
is attempting to resolve Microsoft.VisualStudio.ProjectSystem, Version=16.0.0.0
but can't find it. I am not referencing either of those packages for the versions listed. I am referencing Nuget.PackageManagement.VisualStudio, Version=4.8.0.6
and I am not referencing Microsoft.VisualStudio.ProjectSystem
. I went to add those packages but version 5.0 of Nuget.PackageManagement.VisualStudio
and 16.0 of Microsoft.VisualStudio.ProjectSystem
do not exist on nuget.org even looking at pre-release packages.
I know I could just grab the dlls I need from C:\Documents and Settings\<my user>\AppData\Local\Microsoft\VisualStudio\15.0_c9b36733Exp\Extensions\Microsoft Corporation\NuGet Package Manager for Visual Studio 2017\15.99.99
but I am sure this is not the intended way to resolve this issue. I am also aware that I could modify the visual studio binding redirects but I would prefer not to do that. Is there any means for me to resolve this issue without resorting to grabbing the dlls from the visual studio package managers extension or modifying the devenv.exe binding redirects?