In our company we have several FinalBuilder projects, which we are updating to use the NuGet actions e.g. NuGet Restore, NuGet push.
This works fine on our development machines, but unfortunately on our build server we always get the following error:
File not found at the provided executable path (\nuget.exe)
The build server has NuGet.exe in a folder in the %path% variable, and it can be found without problems if we log on to the build server directly and run nuget.exe from the command line, for example.
What is particularly suspicious is that even if we intentionally remove NuGet.exe on our development machines, we get a more reasonable error like “File not found at the provided executable path (C:\Program Files (x86)\NuGet\nuget.exe)”. So it looks like FinalBuilder is not even looking in a reasonable place on the build server.
For information, we are using FinalBuilder 220.127.116.118, and our issue is happening on our build server using the Run FinalBuilder task in TFS 2015.