I'm trying to lunch program RPI_test.exe on Raspbarry PI under Raspbian and Mono project.
My mono version :
1 pi@raspberrypi ~/Documents/bin/Debug % mono -V
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: normal Notifications: epoll Architecture: armel,vfp+hard Disabled:
none Misc: softdebug LLVM: supported, not enabled. GC: sgen
Raspbian version :
pi@raspberrypi ~/Documents/bin/Debug % uname -a
Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux
I get an unhandled exception when I'm trying to lunch the program :
pi@raspberrypi ~/Documents/bin/Debug % mono RPI_test.exe
Missing method SetCompatibleTextRenderingDefault in assembly /home/pi/Documents/bin/Debug/RPI_test.exe, type System.Windows.Forms.Application
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Project is compiled under .NET 4.0 framework. I don't know what can be done with this. I'm quite new in raspberry pi and linux. Am I doing something wrong ? Can anyone help me with this problem ?
Thanks