C# get executing assembly path

string str = System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);

Leave a Reply

Your email address will not be published. Required fields are marked *