We use the Nuget installer step, which restores the missing nuget packages in the TFS assembly, this step fails with the following error:
E: \ Builds \ _tasks \ NuGetInstaller_333b11bd-d341-40d9-afcf-b32d5ce6f23b \ 0.2.29 \ node_modules \ nuget-task-common \ NuGet \ 3.3.0 \ NuGet.exe restore -NonInteractive E: \ Builds \ test.sln Automatic MSBuild discovery: using msbuild version "3.5" from "C: \ Windows \ Microsoft.NET \ Framework \ v3.5". Error parsing the solution file in E: \ Builds \ test.sln: the system cannot find the specified file. (Exception from HRESULT: 0x80070002) Error: E: \ Builds \ Agent2017Update1_tasks \ NuGetInstaller_333b11bd-d341-40d9-afcf-b32d5ce6f23b \ 0.2.29 \ node_modules \ nuget-task-common \ NuGet \ 3.3.0 \ nuuGet \ 3.3.0 return code: 1 packages failed to install
The error message seems confusing because the specified file is present in the build agent.
TFS Build Agent Version: 2.112.0 TFS Version: TFS 2017 Update 1
source
share