When creating a new console application (.Net core) in Visual Studio for Mac and I try to debug it, I get an error:
Debugger operation failed
Unable to start debugging. The type initializer for 'Crypto' threw an exception.
This happens after updating the application to the latest stable release of .Net core 1.1.0
.
Any ideas why this might happen?
Try to do the following (found here ):
Update: I have faced with the same problem after updating mono via brew. And repeating last steps from Install pre-requisites section helps...