chore: Updating dependencies

This commit is contained in:
Chris Cameron
2021-02-08 11:43:19 -05:00
parent cc79e88702
commit b44cbe0093
3 changed files with 10 additions and 9 deletions

View File

@@ -26,9 +26,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
<PackageReference Include="NUnit" Version="3.13.1" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
</ItemGroup>
<ItemGroup>

View File

@@ -38,10 +38,10 @@
<None Remove="Properties\ControlSystem.cfg" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Data.SQLite" Version="2.2.6" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
<PackageReference Include="Pastel" Version="1.3.1" />
<PackageReference Include="Microsoft.Data.SQLite" Version="5.0.2" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="5.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Pastel" Version="2.1.0" />
<PackageReference Include="System.Net.NetworkInformation" Version="4.3.0" />
<PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
</ItemGroup>

View File

@@ -4,7 +4,7 @@ using Crestron.SimplSharp.CrestronIO;
#else
using ICD.Common.Utils.Extensions;
using System.IO;
using Microsoft.DotNet.PlatformAbstractions;
using System.Reflection;
#endif
namespace ICD.Common.Utils.IO
@@ -16,7 +16,8 @@ namespace ICD.Common.Utils.IO
#if SIMPLSHARP
return Directory.GetApplicationDirectory();
#else
return ApplicationEnvironment.ApplicationBasePath;
string pathToDll = Assembly.GetExecutingAssembly().GetPath();
return pathToDll == null ? null : IcdPath.GetDirectoryName(pathToDll);
#endif
}