mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
Fixing executable directory in net standard
This commit is contained in:
parent
8331763fe2
commit
218107b371
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue