Strange Build Error .Net Core Project

The error message was entirely misleading, it was my postcompile cmd to publish the library as a nuget package to my own nuget server that was failing:

  "scripts":
  {
    "postcompile":
    [
      "dotnet pack --no-build --configuration %compile:Configuration%",
      "\"C:\\Program Files (x86)\\NuGet\\nuget\" push \"%project:Directory%\\bin\\%compile:Configuration%\\%project:Name%.%project:Version%.nupkg\" -s http://foo/NugetServer/ -apikey testkey"
    ]
  }

That cmd is trying to call C:\Program Files (x86)\NuGet\nuget.exe

As I said, I cloned this project and did not create it, the developer who created the project has C:\Program Files (x86)\NuGet\nuget.exe installed.

I only had C:\Program Files (x86)\NuGet, no nuget.exe, the folder existed because I have the Visual Studio 2015 nuget extension installed and the .vsix file lives there but no nuget.exe.

I simply downloaded nuget.exe here, latest (v3.5.0) and placed where my postcompile cmd expected it to be: C:\Program Files (x86)\NuGet