Skip to content

Instantly share code, notes, and snippets.

@devjev
Created September 13, 2016 07:46
Show Gist options
  • Save devjev/7550ff86320fee2751a586620dea3c6f to your computer and use it in GitHub Desktop.
Save devjev/7550ff86320fee2751a586620dea3c6f to your computer and use it in GitHub Desktop.
How to get the directory the running assembly is in
System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment