Re: [Mono-list] Can't run my EXE in Windows

2011-08-15 Thread jimevt
Hi Again, Does anybody have an idea as to why my EXE could not load MainWindow, even though I installed Gtk# on the target machine? Thanks! JimE. -- View this message in context: http://mono.1490590.n4.nabble.com/Can-t-run-my-EXE-in-Windows-tp3722153p3745598.html Sent from the Mono -

Re: [Mono-list] Can't run my EXE in Windows

2011-08-12 Thread jimevt
Hello Again, I installed mono on the target machine, still no luck. I tried running the program with mono --debug FvmRTD.exe and got: Unhandled Exception: System.TypeLoadException: Could not load type 'MainWindow' from assembly 'FvmRTD, Version=1.0.4241.35117, Culture=neutral,

Re: [Mono-list] Can't run my EXE in Windows

2011-08-11 Thread Stifu
No, no. It's GTK# for .NET which is at version 2.12.10, not GTK# for .NET 2.12.10 (a .NET version which doesn't exist, anyway). jimevt wrote: Wait a minute - if the GTK# is for .NET 2.12.10, does that mean that I my compilation should be targeting .NET 2.12.10? -- View this message in

Re: [Mono-list] Can't run my EXE in Windows

2011-08-11 Thread John Ludlow
It's possible this isn't related to the state of .NET at all. You could add some output (either Console.Writeline or MessageBox.Show, depending on what type of application it is) which should tell you whether your application is at least able to load. Another possibility is to use something like

Re: [Mono-list] Can't run my EXE in Windows

2011-08-10 Thread jimevt
I already sent this in an email reply to Ian, but didn't see it show up in the list. Sorry if you get it twice! Also - the build process says it is building a target for .NET 3.5. I see that the development machine has .NET 4.0 but the target doesn't.I'm going to try installing .NET 4.0

Re: [Mono-list] Can't run my EXE in Windows

2011-08-10 Thread John Ludlow
Hi Jim, If you're targeting .NET 3.5 then installing .NET 4.0 wouldn't help because they use different CLRs. Is .NET 3.5 installed on the target machine? Is it possible that you require .NET3.5 sp1? John I already sent this in an email reply to Ian, but didn't see it show up in the list.  

Re: [Mono-list] Can't run my EXE in Windows

2011-08-10 Thread jimevt
Hello Again, I'm targeting 3.5 and both the development and target machines have 3.5 sp1 on them. I tried uninstalling 3.5 sp1 on the target machine, then installing 3.5 - still no luck. I thought that I might target an earlier .NET version, but I get errors when I try to build the

Re: [Mono-list] Can't run my EXE in Windows

2011-08-10 Thread jimevt
Nope, that didn't do it either. When I tried to run it without 4.0 installed, it clearly told me that I needed to install .NET 4.0. After I installed .NET 4.0, I got the same error. Just to be sure, I uninstalled Gtk# for .NET 2.12.10 and re-installed; same error. Wait a

Re: [Mono-list] Can't run my EXE in Windows

2011-08-06 Thread Ian Norton
Did you run the gtk-sharp installer on the other machine? or just copy the dlls? On Fri, Aug 05, 2011 at 09:01:57PM +0100, jimevt wrote: Hi All! I'm new to Mono, C#, Gtk#, etc. Sorry if this is an easy question! I searched for a while, but couldn't find an answer. I'm using

[Mono-list] Can't run my EXE in Windows

2011-08-05 Thread jimevt
Hi All! I'm new to Mono, C#, Gtk#, etc. Sorry if this is an easy question! I searched for a while, but couldn't find an answer. I'm using MonoDevelop w/Gtk# on a windows machine to develop a program named FvmRTD.exe. I can build, debug, and run on the development machine. I used

Re: [Mono-list] Can't run my EXE in Windows

2011-08-05 Thread jimevt
Dang! I meant to include that I'm using MonoDevelop 2.6 Beta 3, in case it makes a difference. JimE. -- View this message in context: http://mono.1490590.n4.nabble.com/Can-t-run-my-EXE-in-Windows-tp3722153p3722197.html Sent from the Mono - General mailing list archive at Nabble.com.

Re: [Mono-list] Can't run my EXE in Windows

2011-08-05 Thread Dan Shryock
Jim, The error message sounds like you might be missing the .NET runtime. I haven't used Gtk# on windows, so I don't know if the installer ensures that it is installed. If it isn't related to the lack of the .NET runtime, you could add some logging to a file (or the console if you want to