[Mono-list] C# code compiled on Linux and run on Windows

Stifu stifu at free.fr
Thu May 26 17:55:29 EDT 2011


Yes, you can.
Did you make sure your classes are marked as public?


doal wrote:
> 
> This may be a stupid question but, can I build my C# application on Linux
> using mono and then take that DLL over and run it on Windows?
> 
> I'm trying to do this but the program that is loading my DLL can't see the
> classes in it. Is there something that needs to be done to "export" the
> classes to make them available?
> 


--
View this message in context: http://mono.1490590.n4.nabble.com/C-code-compiled-on-Linux-and-run-on-Windows-tp3553766p3553778.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list