简体   繁体   中英

TFS Build fails at NuGet restore

I have an on-prem 2017 install of TFS.

Other similar builds work just fine however this new build i have created fails at the first step - NuGet Restore.

The path set is: ***.sln

I will add that I created the new build by copying from another (working) build. There aren't many options to set in the task so I'm not sure what went wrong.

Attached is the result from the log page.

Any help appreciated.

thanks. 在此处输入图片说明

According to the error info

no matching files were found with search pattern: E:\\vstsagent\\_work\\5\\s\\**\\*.sln

Seems the build agent is lacking of the solution file.You could double check this on the build agent folder E:\\vstsagent\\_work\\5\\s\\** to see if there are or not.

Please go through your repository mapping settings, mark sure including and not cloaked that .sln file.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM