[Mono-list] Application.StartupPath Property ???

Atsushi Eno atsushi at ximian.com
Thu Jan 19 04:22:05 EST 2006


Assembly.GetEntryAssembly().CodeBase will return the path of the 
assembly that contains the entry point of the current domain.

(this explanation is complicated but should be exact ;-)

Atsushi Eno

Salvatore Scarciglia wrote:
> Ok, but: is there another way to know the path of the exe file of my
> application ? I don't want to use Windows.Forms in my Glade# applications !
> 
> Salvatore
> 
> 
> On Thu, 19 Jan 2006 02:06:09 -0700
> "Peter Dennis Bartok" <peter at novonyx.com> wrote:
> 
>> Application.StartupPath is in the System.Windows.Forms assembly.
>>
>> msc blah.cs /r:System.Windows.Forms.dll
>>
>> Cheers,
>>   Peter
>>
> _______________________________________________
> 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