using System.IO; using System.Reflection; Path.GetDirectoryName(Assembly.GetAssembly(typeof(int)).Location);