using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using reflector = System.Reflection; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { reflector::Assembly assembly = reflector.Assembly.GetExecutingAssembly(); Console.WriteLine(assembly.Location); Console.ReadKey(); } } }