Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active April 8, 2020 15:56
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 bjoerntx/772d0614aa832e2d9fc95fc1723a5d5f to your computer and use it in GitHub Desktop.
Save bjoerntx/772d0614aa832e2d9fc95fc1723a5d5f to your computer and use it in GitHub Desktop.
string baseDir = env.ContentRootPath;
AppDomain.CurrentDomain.SetData("DataDirectory", System.IO.Path.Combine(baseDir, "App_Data"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment