I have created a private VSTS build agent that tries to build my .net core project. I've installed the latest version of the .net core SDK on the build machine, but when I kick off a build it tries to use the version of the dotnet.exe installed in the agent build folder (c:\agent\bin\dotnet.exe), rather than the newly installed version in c:\Program Files\dotnet...
Is there any way to tell the build definition where to look for the latest dotnet.exe?
UPDATE I just restarted the build agent service and all seems fine now,