diff --git a/ICD.Common.Utils/IO/IcdDirectory.cs b/ICD.Common.Utils/IO/IcdDirectory.cs index 64add31..ce157d9 100644 --- a/ICD.Common.Utils/IO/IcdDirectory.cs +++ b/ICD.Common.Utils/IO/IcdDirectory.cs @@ -3,6 +3,7 @@ using Crestron.SimplSharp.CrestronIO; #else using System.IO; +using Microsoft.DotNet.PlatformAbstractions; #endif namespace ICD.Common.Utils.IO @@ -14,6 +15,7 @@ namespace ICD.Common.Utils.IO #if SIMPLSHARP return Directory.GetApplicationDirectory(); #else + return ApplicationEnvironment.ApplicationBasePath; return Directory.GetCurrentDirectory(); #endif }