1using System.Reflection; 2 3string rootFolder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);