Update Configuration.cs

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

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

Loading…
Cancel
Save

Powered by TurnKey Linux.