johanclasson / vso-agent-tasks

Build and Release Tasks for Visual Studio Online and Team Foundation Server
MIT License
20 stars 16 forks source link

Updated nuget.exe usage to look in path first #19

Closed sumo300 closed 7 years ago

sumo300 commented 7 years ago

I added some code to first check if nuget.exe is in the path. I'd imagine on some build servers, downloading nuget.exe is unnecessary and this method would allow users of the task to get around the issue of the user profile temp folder being locked by group policy (by installing nuget.exe in the path instead). I also updated the URL for downloading the latest nuget.exe.

RE: #17

johanclasson commented 7 years ago

Great. I will test this out and then update the VSTS-plugin. Thanks!