Porting Windows Forms app to Linux using mono !problems!

View: New views
4 Messages — Rating Filter:   Alert me  

Porting Windows Forms app to Linux using mono !problems!

by ktix007 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was following this Guide: http://mono-project.com/Guide:_Porting_Winforms_Applications

But it's very confusing. It says:

Now go back to Windows, and access your new share by typing "\\mono\nclass" into the Run dialog. Copy your NClass project to the Mono image share.


On the Mono image desktop, double click your NClass folder, and navigate to your compiled NClass.NClass.exe application. Double click it and the application should run.

Exe files don't run on Linux. Is this an error? Or am I doing something wrong?

Re: Porting Windows Forms app to Linux using mono !problems!

by Stifu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There are 2 types of exe files: unmanaged ones, and managed (.NET) ones. The second type can be run with Mono. So it seems like you should try to run that exe file with Mono.

ktix007 wrote:
I was following this Guide: http://mono-project.com/Guide:_Porting_Winforms_Applications

But it's very confusing. It says:

Now go back to Windows, and access your new share by typing "\\mono\nclass" into the Run dialog. Copy your NClass project to the Mono image share.


On the Mono image desktop, double click your NClass folder, and navigate to your compiled NClass.NClass.exe application. Double click it and the application should run.

Exe files don't run on Linux. Is this an error? Or am I doing something wrong?

Re: Porting Windows Forms app to Linux using mono !problems!

by ktix007 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Stifu wrote:
There are 2 types of exe files: unmanaged ones, and managed (.NET) ones. The second type can be run with Mono. So it seems like you should try to run that exe file with Mono.
How do I make the managed exe?

Re: Porting Windows Forms app to Linux using mono !problems!

by Stifu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ktix007 wrote:
Stifu wrote:
There are 2 types of exe files: unmanaged ones, and managed (.NET) ones. The second type can be run with Mono. So it seems like you should try to run that exe file with Mono.
How do I make the managed exe?
I haven't had a close look at that tutorial, but I'm pretty sure that it must already be managed. Else that'd be pointless.
Just launch it using "mono filename.exe", or by right clicking the file and choosing to open it with Mono.