diff --git a/Directory.Build.props b/Directory.Build.props
index 16cbeee..d956e29 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -33,4 +33,9 @@
$(MSBuildThisFileDirectory).build\bin\$(MSBuildProjectName)\
+
+
+
+
+
diff --git a/NuGet.config b/NuGet.config
index b004e5c..3335b6f 100644
--- a/NuGet.config
+++ b/NuGet.config
@@ -3,5 +3,6 @@
+
-
\ No newline at end of file
+
diff --git a/build.ps1 b/build.ps1
index 5930bae..c4c099e 100755
--- a/build.ps1
+++ b/build.ps1
@@ -64,8 +64,15 @@ Remove-Item -Recurse $artifacts -ErrorAction Ignore
exec dotnet build --configuration $Configuration '-warnaserror:CS1591' @MSBuildArgs
exec dotnet pack --no-restore --no-build --configuration $Configuration -o $artifacts @MSBuildArgs
+
+[string[]] $testArgs=@()
+if (-not $IsCoreCLR -or -not $IsWindows) {
+ $testArgs += '--framework','netcoreapp2.1'
+}
+
exec dotnet test --no-restore --no-build --configuration $Configuration '-clp:Summary' `
"$PSScriptRoot/test/CommandLineUtils.Tests/McMaster.Extensions.CommandLineUtils.Tests.csproj" `
+ @testArgs `
@MSBuildArgs
write-host -f magenta 'Done'
diff --git a/src/CommandLineUtils/McMaster.Extensions.CommandLineUtils.csproj b/src/CommandLineUtils/McMaster.Extensions.CommandLineUtils.csproj
index 2993809..ae7293a 100644
--- a/src/CommandLineUtils/McMaster.Extensions.CommandLineUtils.csproj
+++ b/src/CommandLineUtils/McMaster.Extensions.CommandLineUtils.csproj
@@ -1,8 +1,7 @@
-
+
- netstandard2.0;netstandard1.6
- $(TargetFrameworks);net45
+ netstandard2.0;netstandard1.6;net45
true
true
Command-line parsing API. A community-maintained fork of Microsoft.Extensions.CommandLineUtils, plus extras.
diff --git a/test/CommandLineUtils.Tests/McMaster.Extensions.CommandLineUtils.Tests.csproj b/test/CommandLineUtils.Tests/McMaster.Extensions.CommandLineUtils.Tests.csproj
index f0f2c08..930801b 100644
--- a/test/CommandLineUtils.Tests/McMaster.Extensions.CommandLineUtils.Tests.csproj
+++ b/test/CommandLineUtils.Tests/McMaster.Extensions.CommandLineUtils.Tests.csproj
@@ -1,8 +1,7 @@
- netcoreapp2.1
- $(TargetFrameworks);net461
+ netcoreapp2.1;net461