« Return to Thread: beginner trying to create a application

Re: beginner trying to create a application

by choclatboy :: Rate this Message:

Reply to Author | View in Thread

TeamChaos wrote:
that all works perverctly when running from monodevelop or even in linux.
but swifting to windows... (i don't have mac yet).
it puts me a error saying it can't find and by that load the gtk-sharp
assembly (version 2.10).
i thought that is installed with the mono windows package?
but even if i download it manually it gives the same error.
what is wrong?
hi,

I suppose you're starting the application (exe file) directly by double click on it or from the console.
The solution is:
 - Execute you application using the mono.exe (C:\program files\mono-xxx\bin\mono.exe) like this: "mono youApp.exe".
 - If you want to execute you apps using the MS Framework and the GT# libraries, you have to add this libraries to the GAC.

 « Return to Thread: beginner trying to create a application