mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-12 19:25:00 +00:00
Fixing executable directory in net standard
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user