diff --git a/NzbDrone.Core.Test/App.config b/NzbDrone.Core.Test/App.config
index 6e63be8ce..480289a8e 100644
--- a/NzbDrone.Core.Test/App.config
+++ b/NzbDrone.Core.Test/App.config
@@ -7,17 +7,10 @@
-
+
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj
index 8ee88d3df..00d511f3f 100644
--- a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj
+++ b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj
@@ -72,6 +72,10 @@
+
+ True
+ ..\packages\SqlServerCompact.4.0.8482.1\lib\System.Data.SqlServerCe.dll
+
@@ -174,6 +178,13 @@
+
+
+if not exist "$(TargetDir)x86" md "$(TargetDir)x86"
+xcopy /s /y "$(SolutionDir)packages\SqlServerCompact.4.0.8482.1\NativeBinaries\x86\*.*" "$(TargetDir)x86"
+if not exist "$(TargetDir)amd64" md "$(TargetDir)amd64"
+xcopy /s /y "$(SolutionDir)packages\SqlServerCompact.4.0.8482.1\NativeBinaries\amd64\*.*" "$(TargetDir)amd64"
+