Reputation: 3576
I am trying to compile my C# application to the Raspberry Pi (running Debian).
I have successfully installed mono on the Pi, compiled, and run a basic hello world application. I am now running the following command (from here) to try and compile my windows forms application:
`dmcs -pkg:dotnet Login.cs /r:system.Windows.Forms /r:System.Drawing`
However I get the following error:
Error CS006; Metadata file 'cscompmgd.dll' could not be found Compilation failed: 1 error(s)
So my questions are:
1) Could this because I am trying to reference
Using MySql.Data.MySqlClient;
2) If the answer to 1 is no, what else could cause that error?
3) Related question: My application has a few different forms, will compiling this Login.cs file be enough to run the whole application, or should I; compile them all at once, or compile program.cs?
Thanks,
Upvotes: 2
Views: 1390
Reputation: 30456
This file I related to the compiler. This might help: http://ubuntuforums.org/showthread.php?t=914626. As for MySQL client, you might need more libraries, I would recommend compiling your app on a separate computer (with more harddisk and memory a transferring your binary to the raspberry Pi (the extra step might make builds a little trickier but the extra space and power might make a full build envrionment easier)
Upvotes: 1