Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to update native packages #1291
Having a C++ project which is using nuget package CppNative.220.127.116.11.nupkg targeting framework "native". Packages.config looks like:
package id="CppNative" version="18.104.22.168" targetFramework="Native"
Runing nuget.exe update CppNative SolutionName.sln
This bug has been moved from https://github.com/NuGet/NuGet.CommandLine/issues/10
referenced this issue
Apr 15, 2016
Just came across this with NuGet 3.4.4. Trying to update native NuGet packages in a C++ build that has nothing to do with .NET results in:
Performing the update through Visual Studio works, just not via the command line, so it can't happen automatically on the build server.
The irony is that when people ask how to get NuGet package restore to update packages to the latest version the answer always comes back that package restore isn't meant for this because updated packages might break the build. When it is explained that it's happening on a build server precisely to check whether the build works with the latest dependency versions, the response then is to run