Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build x64 with monodevelop?

I would like to build a x64 package of a project I wrote in monodevelop. I can change the project compiler options from x86 to x64, but if I do this, I get the error:

Error CS0016: Could not write to file `AudioCuesheetEditor', cause: AMD64 (CS0016) (AudioCuesheetEditor)

How can I build packages for x64 systems?

Thank you for help!

like image 983
Sven Avatar asked Nov 12 '22 15:11

Sven


1 Answers

Use the any cpu configuration

You'll get x64 on a 64-bit operating system, x86 on a 32-bit operating system. Automagic provided by the just-in-time compiler.

BUT On windows x86 with anycpu there is no problem. Using windows x64 will crash becaus gtk-sharp has no x64 build. So on windows x64 you have to build x86.

like image 138
Nicholas DiPiazza Avatar answered Dec 18 '22 01:12

Nicholas DiPiazza