For what it's worth, from the Mono command prompt on Windows, when you do "MyApp.exe", then the app is run with .NET, not Mono. Also, if you're trying to run a WinForms app, you don't need GTK#.
Anyway, I'm not sure what's wrong. Is the app you're trying to run available somewhere? sgc9812 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-tp4270054p4272705.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
