Programming, Xamarin

Fixing crypt32.dll when restoring NuGet packages

Recently, whenever I tried to restore NuGet packages using the CLI and also having the newest version of VS 2019 for Mac installed, I kept getting the following error:

The solution is although simple. Just grab the latest nuget.exe from and replace it with the one you’re storing locally in your repository.