Visual Studio get stuck on "Restoring packages for solution"

Viewed 1851

From several days I'm trying to open a Xamarin Forms Project in Visual Studio for Mac, but it gets stuck at "Restoring packages for solution" and I cannot pass that, I cannot work on the project.

I also tried to import that project into Windows machine, in Visual Studio and I have the same situation, it gets stuck loading the resources.

I have tried to clear the cache, to uninstall the Visual Studio, to clear the temp folder, but no luck...

It gets stucked at "Getting restore information for project /Users/admin/Desktop/Development/MyProjectApp/MyProject/MyProject.Android/MyProject.Android.csproj". Even with this, I can click on deploy on android button, on Macos I get no output, and is loading forever... and on Windows it gets stucked at "Creating C:\Users\admin\AppData\Local\Xamarin.Android\Cache\Mono.Android.Platform.ApiLevel_28.apk"

Could you please help me with this situation? It is anyone else who had this problem?

1 Answers

For me it only happens when it is on full screen mode. If I put it on a Desktop normal window it seems to work normally... I don't know if it is the reason but for me works all the time..

What I normally do is to ensure that VS is not on full screen mode at start...

Related