Welcome to WindowsClient.net | Sign in | Join

Zuker On Foundations

The realm of .NET (WPF, WCF and all around)

Get executing assembly file path location

Very simple piece of code to get the path where the executing assembly is located.

private static string GetApplicationPath()
{
   return Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
}

Posted: Jul 15 2008, 11:01 AM by zuker | with no comments
Filed under:

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

Page view counter