I have a Winform application in C#(which executes fine on Windows) but crashes in Mono on the Raspberry Pi due to the following error.
*Assertion at mini-codegen. c:807,condition 'i==sel' not met. Got a SIGABRT while executing native code.This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application.
After some research,I found out that the version of Mono on the Pi does not support Winform's Textbox control and hence the above error.I have Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4+rpi1) version installed on the Pi. Seems like a later version of Mono has fixed this bug(3.8.1).
Can someone please explain how to do an upgrade of the Mono to the latest or required version.The Pi has Linux installed on it. I have tried the following commands(sudo apt-get update && sudo apt-get dist-upgrade.) but the version on the Pi still shows up as 3.2.8.
-Thanks