[Mono-list] Application.StartupPath Property ???
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 ;-)
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 !
> 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
> Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list