Skip to content

Instantly share code, notes, and snippets.

View janbaer's full-sized avatar
🏠
Working from home

Jan Baer janbaer

🏠
Working from home
View GitHub Profile
@janbaer
janbaer / gist:4585893
Created January 21, 2013 13:05
GetAssemblyDirectory - Returns the directory name for the executing assembly
private static string GetAssemblyDirectory()
{
return new System.IO.FileInfo(System.Reflection.Assembly.GetExecutingAssembly().Location).Directory.FullName;
}