Skip to content

Commit 9bb3913

Browse files
committed
Update path to match NuGet props
1 parent 30dc050 commit 9bb3913

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Engage.Dnn.SqlServerTypes.dnn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
<version>0.0.0</version>
2525
</assembly>
2626
<assembly>
27-
<path>bin/SqlServerTypes/x64</path>
27+
<path>bin/x64</path>
2828
<name>SqlServerSpatial160.dll</name>
2929
<version>0.0.0</version>
3030
</assembly>
3131
<assembly>
32-
<path>bin/SqlServerTypes/x86</path>
32+
<path>bin/x86</path>
3333
<name>SqlServerSpatial160.dll</name>
3434
<version>0.0.0</version>
3535
</assembly>

src/SqlServerTypes/Loader.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ internal class Loader
1313
public static void LoadNativeAssemblies(string rootApplicationPath)
1414
{
1515
var nativeBinaryPath = IntPtr.Size > 4
16-
? Path.Combine(rootApplicationPath, @"SqlServerTypes\x64\")
17-
: Path.Combine(rootApplicationPath, @"SqlServerTypes\x86\");
16+
? Path.Combine(rootApplicationPath, @"x64\")
17+
: Path.Combine(rootApplicationPath, @"x86\");
1818

1919
LoadNativeAssembly(nativeBinaryPath, "SqlServerSpatial160.dll");
2020
}

0 commit comments

Comments
 (0)