Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error build VSTS: ## [error] Error: Unable to locate the 'nuget'

I created a test project with C# + SpecFlow and I am trying to build the solution through VSTS, however in Nuget Restore is presenting the error below.

2018-08-07T15:29:39.6678023Z ##[error]Error: Unable to locate the 'nuget' [b3be7473-68ea-4a81-bfc7-9530baaa19ad] area. The service containing that area may not be available in your region. 2018-08-07T15:29:39.6739350Z ##[error]Packages failed to restore

Would anyone know how to help me solve it or what? I already tried to check in the forum but none of the alternatives solved my problem.

like image 791
mribeiro Avatar asked Aug 07 '18 15:08

mribeiro


People also ask

How do I resolve build errors in Visual Studio?

In Visual Studio, go to the menu bar and choose Help > Send Feedback > Report a Problem, or submit a suggestion by using Help > Send Feedback > Send a Suggestion.

How do I see build errors in Visual Studio?

To display the Error List, choose View > Error List, or press Ctrl+\+E.

What is a build error?

In software terms it means that there is currently an error in the project code that is preventing it from compiling and running properly.


Video Answer


2 Answers

I got the same issue, resolved it by using NuGet restore version 1.x.

Screenshot of fix

like image 176
Viktor Kynchev Avatar answered Sep 22 '22 05:09

Viktor Kynchev


Microsoft has informed regarding this issue. Let's hope this issue will be fixed soon.

Possible customer impacting event in all regions – 08/08 – Investigating

like image 32
Susen Maharjan Avatar answered Sep 24 '22 05:09

Susen Maharjan