Skip to content

Instantly share code, notes, and snippets.

@Layoric
Created July 25, 2013 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Layoric/6076073 to your computer and use it in GitHub Desktop.
Save Layoric/6076073 to your computer and use it in GitHub Desktop.
Get file system directory of where the current executable is running from
string assemblyDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetCallingAssembly().Location);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment