I am trying to compile and run code for a VNC Server on my RPi running Win10.
I have a very basic Visual Studio Solution with a C# console application project and a class library DLL. Both are targeting any CPU. I want to utilize
System.Drawing (Rectangle, Size, Bitmap and Graphics).
The server seems to run on the PC but not on the RPi. I have added a reference to System.Drawing in both the console application project and the DLL project. When I run the program on the RPi I get the following error when Rectangle is called from the DLL:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Drawing, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
What am I doing wrong? I can make the call to
main() but not from the DLL.