migrate Assembly.GetEntryAssembly().Location to Pilz.IO
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Pilz.Updating.Administration.GUI
|
||||
get
|
||||
{
|
||||
if (string.IsNullOrEmpty(myAppPath))
|
||||
Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
|
||||
Path.GetDirectoryName(IO.Extensions.GetExecutablePath());
|
||||
return myAppPath;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user