[MonoDevelop] EXE runs in MD but not when I double click the file.

Kris Ray kray at landmarkdigital.com
Thu Apr 29 08:10:48 EDT 2010


Is this on OSX with a GTK app?  If so, there is (or at least was) a missing environment variable that needs to be added...

________________________________________
From: monodevelop-list-bounces at lists.ximian.com [monodevelop-list-bounces at lists.ximian.com] On Behalf Of Tom Spink [tspink at gmail.com]
Sent: Thursday, April 29, 2010 6:24 AM
To: creek23
Cc: monodevelop-list at lists.ximian.com
Subject: Re: [MonoDevelop] EXE runs in MD but not when I double click the       file.

You could try checking your compilation settings, to make sure the
correct entry point is selected at compile time.  You'll find these
settings in your project properties.

Tom.

On 28 April 2010 13:55, creek23 <mjmendoza at konsolscript.org> wrote:
> Tried your suggestion, and still nothing. The app crashes before it runs.
> Upon closer inspection, here's the crash details:
>
> Description:
> Stopped working
> Problem signature:
> Problem Event Name: CLR20r3
> Problem Signature 01: helloworld.exe
> Problem Signature 02: 1.0.3770.37161
> Problem Signature 03: 4bd82c53
> Problem Signature 04: glib-sharp
> Problem Signature 05: 2.12.0.0
> Problem Signature 06: 4a1c33d2
> Problem Signature 07: 263
> Problem Signature 08: 0
> Problem Signature 09: System.EntryPointNotFound
> OS Version: 6.0.6001.2.1.0.256.6
> Locale ID: 1033
>
> But it surely runs fine on MonoDevelop. So, how come Mono/.NET runtime
> couldn't find EntryPoint? I do have public static void Main in my code.
>
> Oskar Berggren wrote:
> Debugging tip: Catch all exceptions in your top-level Main() and print it
> all with ToString() (to get message and all inner exceptions) to
> Console.Error.WriteLine(). Run it from a command line and see if you get
> something. /Oskar
>
> ________________________________
> View this message in context: Re: EXE runs in MD but not when I double click
> the file.
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>



--
Tom Spink
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list


More information about the Monodevelop-list mailing list