[Mono-list] Can't Port Winforms App [newbie]

Ian Norton ian.norton-badrul at thales-esecurity.com
Sat Jan 7 15:18:09 EST 2012


One reason might be that your Linux machine might not have them installed.

What distribution is it and do you have a graphical login?

How did you install mono?

I may have used dictation software to write this email, please excuse any confusing mistakes.

sgc9812 <sgc9812 at gmail.com> wrote:

>I'm trying to follow the Mono
>http://www.mono-project.com/Guide:_Porting_Winforms_Applications Guide:
>Porting Winforms Applications .  When I get to the point of
>Trying It Out , I see unexpected results...
>[Newbie Alert: I'm new to Mono, Linux, Gtk, etc., so this should be
>low-hanging fruit for all you Mono Monkey heroes out there.]
>When, from the "Mono Command Prompt", I invoke:
>     MyApp.exe
>the app I built in VisualC# starts and operates as expected.
>However, when I invoke:
>    mono MyApp.exe
>[with output redirected to an error log and MONO_LOG_LEVEL=debug], it
>appears that DllImport is unable to locate /libc /and /X11/.
>I don't understand why Mono is trying to locate /libc /and /libX11 /for
>/Windows /application?  What [basic setup] am I missing?
>Background info:
>    Windows7
>    Visual C# 2010 Express
>    Mono installed using the
>Windows Combined Installer  [WCI].
>    Gtk# installed using
>for .NET .
>     http://mono-project.com/MoMA Mono Migration Analyzer  installed.
>As a heads-up, when I installed Mono using the WCI, I was able to
>successfully follow the instructions on the
>http://www.mono-project.com/Mono:Windows Using Mono on Windows  page to
>point declaring, "If you get this far, you have a working Mono
>installation."  However, the next steps related to Gtk# failed...  In
>Windows Mono Group, none of the Applications [Start | Mono 2.10.8 for
>Windows | Applications] exist -- the shortcuts point to non-existent
>[as though portions of installation failed(?)].  This, I initially
>View this message in context:
>Sent from the Mono - General mailing list archive at Nabble.com.
>Mono-list maillist  -  Mono-list at lists.ximian.com

More information about the Mono-list mailing list