Got visual studio for mac, but takes long time to restore packages for solution

broken image
broken image

So what’s with this package restore and what really happens deep-down when this occurs? But what packages? No one selected any NuGet package to be installed yet ! NET Core project in Visual Studio, and immediately after it’s done, you still get a message that packages are being restored for your new project. What is there to restore as you’ve just installed a single package only?Īnd the ultimate situation: you create a brand new. Why is this so? Decided to install a NuGet package to your project? – the operation that will be run will be a “package restore”. Why is there anything to be restored, as we’ve just cloned the full source code for a C# project? Or you decide to use a different target framework for your project, and sure enough the message comes again. You might be cloning a Git repository storing a C# project, and moments after, Visual Studio generates the message.

broken image

There doesn’t seem to be any logic to when this pops up. Then – out of the blue – it’s displayed again. You continue working for hours, sometimes days, never to encounter the message again. It takes a few seconds usually, then goes away.

broken image

You’ve ran into it countless times – you open a C# project in Visual Studio and you get to see “ Restoring packages for.