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" <[EMAIL PROTECTED]> wrote:

Application.StartupPath is in the System.Windows.Forms assembly.

msc blah.cs /r:System.Windows.Forms.dll

Cheers,
  Peter

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list


_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to