I have tried to get NuGet running on Mono 2.10.9 (Mac), but with no luck.

I want to install Nancy from the NuGet repository:

mono --runtime=v4.0 /usr/local/bin/NuGet.exe install Nancy -Version 0.11.0

But, end up with this error message:

Missing method System.Security.Cryptography.CryptoConfig::get_AllowOnlyFipsAlgorithms() in assembly /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/mscorlib.dll, referenced in assembly /usr/local/bin/NuGet.exe
Method not found: 'System.Security.Cryptography.CryptoConfig.get_AllowOnlyFipsAlgorithms'.

I can list the repositories without problems.

mono --runtime=v4.0 /usr/local/bin/NuGet.exe list Nancy

I have tried to add Microsoft.Build.dll to the same path as NuGet.exe (a tip from a site. I can't remember where).

I end up with this error:

Invalid type Microsoft.Build.Evaluation.Project for instance field NuGet.Common.MSBuildProjectSystem:<Project>k__BackingField
Could not load type 'NuGet.Common.MSBuildProjectSystem' from assembly 'NuGet, Version=2.0.30619.9000, Culture=neutral, PublicKeyToken=null'.

Any suggestions on how I can get NuGet.exe running on Mono (Mac)?

Edit
Report