It's not that easy as in WinForms:
public string GetAssemblyPath()
{
return System.IO.Path.GetDirectoryName(
System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);
}
Note: last back slash doesn't add!
75a8ab5d-226b-43b1-b6b0-ad0385238851|2|5.0