I am running a .Net application under Mono for months now. I did an apt-get upgrade and then after trying to run the application I get NullReference unhandled-exceptions in class constructors. I removed and reinstalled Mono with no luck.

It seems to throw these exceptions when trying to run code from Referenced Libraries (Raspberry.IO.GeneralPurpose). I don't know if or why the libraries are not loaded correctly anymore. There are no other error message and I'm really stuck.

1 Answer 1



GitHub Raspberry-Sharp Issues Page

it looks like recent kernels have changed the way the processor is reported.

The page also shows the solution, which involves manual changes and rebuild of the library.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.