Skip to content

Commit

Permalink
Update path to match NuGet props
Browse files Browse the repository at this point in the history
  • Loading branch information
bdukes committed Apr 17, 2024
1 parent 30dc050 commit 9bb3913
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Engage.Dnn.SqlServerTypes.dnn
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<version>0.0.0</version>
</assembly>
<assembly>
<path>bin/SqlServerTypes/x64</path>
<path>bin/x64</path>
<name>SqlServerSpatial160.dll</name>
<version>0.0.0</version>
</assembly>
<assembly>
<path>bin/SqlServerTypes/x86</path>
<path>bin/x86</path>
<name>SqlServerSpatial160.dll</name>
<version>0.0.0</version>
</assembly>
Expand Down
4 changes: 2 additions & 2 deletions src/SqlServerTypes/Loader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ internal class Loader
public static void LoadNativeAssemblies(string rootApplicationPath)
{
var nativeBinaryPath = IntPtr.Size > 4
? Path.Combine(rootApplicationPath, @"SqlServerTypes\x64\")
: Path.Combine(rootApplicationPath, @"SqlServerTypes\x86\");
? Path.Combine(rootApplicationPath, @"x64\")
: Path.Combine(rootApplicationPath, @"x86\");

LoadNativeAssembly(nativeBinaryPath, "SqlServerSpatial160.dll");
}
Expand Down

0 comments on commit 9bb3913

Please sign in to comment.