[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


Hello,

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?

Ian
-- 
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
>http://www.mono-project.com/Guide:_Porting_Winforms_Applications#Trying_It_Out
>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
>my
>/Windows /application?  What [basic setup] am I missing?
>
>Background info:
>    Windows7
>    Visual C# 2010 Express
>    Mono installed using the
>http://download.mono-project.com/archive/2.10.8/windows-installer/1/mono-2.10.8-gtksharp-2.12.11-win32-1.exe
>Windows Combined Installer  [WCI].
>    Gtk# installed using
>http://download.mono-project.com/gtk-sharp/gtk-sharp-2.12.10.win32.msi
>Gtk#
>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
>the
>point declaring, "If you get this far, you have a working Mono
>installation."  However, the next steps related to Gtk# failed...  In
>my
>Windows Mono Group, none of the Applications [Start | Mono 2.10.8 for
>Windows | Applications] exist -- the shortcuts point to non-existent
>files
>[as though portions of installation failed(?)].  This, I initially
>ignored,
>however...
>
>
>--
>View this message in context:
>http://mono.1490590.n4.nabble.com/Can-t-Port-Winforms-App-newbie-tp4270054p4270054.html
>Sent from the Mono - General mailing list archive at Nabble.com.
>_______________________________________________
>Mono-list maillist  -  Mono-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list