Reputation: 62746
I am stuck with VS 2015 because we still have Silverlight bits (porting to HTML is underway). Hence I cannot use VS 2017 (I can, but not for all the code, which is a pain).
VS 2015 does not allow me to install NuGet packages that use features only available in NuGet 4.x, because the NuGet package manager for VS 2015 is equivalent to NuGet 3.x
Is it possible to make VS 2015 work with NuGet 4.x ?
Upvotes: 3
Views: 788
Reputation: 76760
Is it possible to make VS 2015 work with NuGet 4.x ?
I am afraid you can Not do that. Because NuGet Package Manager extension 4.x is not a separate extension, it is built-in the Visual Studio 2017, we could not get it from NuGet.org.
Besides, the Announcing NuGet 4.0 RTM also pointed this:
The NuGet 4.0 Package Manager Extension is currently not available for Visual Studio 2015 (Visual Studio 2015 comes with NuGet 3.4.4, and NuGet 3.5.0 is available as an explicit download for Visual Studio 2015 as well). NuGet 4.0 builds upon several new features and bug fixes available only in Visual Studio 2017, and hence the newer NuGet experiences will not be available in Visual Studio 2015.
Hope this helps.
Upvotes: 2
Reputation: 28776
This is not possible. NuGet 4.x is part of Visual Studio 2017 and for Visual Studio 2015, the last version is 3.6.0.
Upvotes: 0