> This will break if the program is loaded from the shadow
> copy cache.


You can use CodeBase instead which works with shadow assemblies also:

String strAppDir = Path.GetDirectoryName(
                 Assembly.GetExecutingAssembly().GetName().CodeBase);

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

Reply via email to