Update Configuration.cs

.net core bug
https://github.com/dotnet/project-system/issues/589
pull/1/head
a.bozhenov 6 years ago
parent a10cef2b4f
commit e80d7292e6

@ -14,9 +14,7 @@ namespace ZeroLevel
/// <summary>
/// Application folder path
/// </summary>
public static string BaseDirectory =
Path.GetDirectoryName(Assembly.GetExecutingAssembly()?.CodeBase)?.
Replace("file:\\", string.Empty);
public static string BaseDirectory = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
public static string AppLocation = Assembly.GetEntryAssembly()?.Location;

Loading…
Cancel
Save

Powered by TurnKey Linux.