diff --git a/SharpCompress.sln.DotSettings b/SharpCompress.sln.DotSettings
index a3a163da..5b016930 100644
--- a/SharpCompress.sln.DotSettings
+++ b/SharpCompress.sln.DotSettings
@@ -45,10 +45,14 @@
True
1
1
+ NEVER
+ NEVER
False
False
+ NEVER
True
False
+ NEVER
True
True
@@ -115,6 +119,10 @@
<Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
<Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
True
+ True
+ True
+ True
True
+ True
True
True
diff --git a/build.cake b/build.cake
index c92639cc..3fc65799 100644
--- a/build.cake
+++ b/build.cake
@@ -25,7 +25,8 @@ Task("Build")
var settings = new DotNetCoreBuildSettings
{
Framework = "netstandard1.0",
- Configuration = "Release"
+ Configuration = "Release",
+ NoRestore = true
};
DotNetCoreBuild("./src/SharpCompress/SharpCompress.csproj", settings);
@@ -50,16 +51,6 @@ Task("Test")
Configuration = "Release",
Framework = "netcoreapp2.0"
};
-
- DotNetCoreTest(file.ToString(), settings);
-
-
- settings = new DotNetCoreTestSettings
- {
- Configuration = "Release",
- Framework = "netcoreapp1.1"
- };
-
DotNetCoreTest(file.ToString(), settings);
}
});
diff --git a/tests/SharpCompress.Test/SharpCompress.Test.csproj b/tests/SharpCompress.Test/SharpCompress.Test.csproj
index 8dbcecb1..a79fe35d 100644
--- a/tests/SharpCompress.Test/SharpCompress.Test.csproj
+++ b/tests/SharpCompress.Test/SharpCompress.Test.csproj
@@ -1,6 +1,6 @@
- netcoreapp1.1;netcoreapp2.0
+ netcoreapp2.0
SharpCompress.Test
../../SharpCompress.snk
true
@@ -16,10 +16,4 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/SharpCompress.Test/TestBase.cs b/tests/SharpCompress.Test/TestBase.cs
index 4547ad76..423535d2 100644
--- a/tests/SharpCompress.Test/TestBase.cs
+++ b/tests/SharpCompress.Test/TestBase.cs
@@ -241,13 +241,9 @@ namespace SharpCompress.Test
{
Monitor.Enter(lockObject);
-#if NETSTANDARD20
var index = AppDomain.CurrentDomain.BaseDirectory.IndexOf("SharpCompress.Test", StringComparison.OrdinalIgnoreCase);
SOLUTION_BASE_PATH = Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory.Substring(0, index));
-#else
- var index = Microsoft.Extensions.PlatformAbstractions.PlatformServices.Default.Application.ApplicationBasePath.IndexOf("SharpCompress.Test", StringComparison.OrdinalIgnoreCase);
- SOLUTION_BASE_PATH = Path.GetDirectoryName(Microsoft.Extensions.PlatformAbstractions.PlatformServices.Default.Application.ApplicationBasePath.Substring(0, index));
-#endif
+
TEST_ARCHIVES_PATH = Path.Combine(SOLUTION_BASE_PATH, "TestArchives", "Archives");
ORIGINAL_FILES_PATH = Path.Combine(SOLUTION_BASE_PATH, "TestArchives", "Original");
MISC_TEST_FILES_PATH = Path.Combine(SOLUTION_BASE_PATH, "TestArchives", "MiscTest");