I have a vs2015 solution that relies on NuGet packages. On my dev box, VS2015 takes care of restoring packages. On my CI server, I use the command line "NuGet.exe restore" before calling MSBuild.
This all works fine, except... on a new CI server, the "Nuget.exe restore" command downloads an nunit package that has a tools\chocolateyInstall.ps1 instead of libs\nunit.framework.dll. This breaks my build, as nunit.framework.dll is not found.
1) Why is this happening? 2) What should I do about it?
What I've tried so far...
- install chocolately - no change
- try "NuGet.exe restore" in my development environment - also produces the chocolatey package instead of the NuGet package.
- v2 and v3 of NuGet.exe on my dev machine - same result