DirectoryInfo di = new DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory); string path = di.Parent.Parent.FullName;