diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 0692bb1c36..e10fec1849 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -607,7 +607,7 @@ function Create-NugetPackages } Write-Verbose "$nugetExe pack $stagingDir\$file -OutputDirectory $packageOutputDir -Version $TPB_Version -Properties Version=$TPB_Version $additionalArgs" - & $nugetExe pack $stagingDir\$file -OutputDirectory $packageOutputDir -Version $TPB_Version -Properties Version=$TPB_Version`;JsonNetVersion=$JsonNetVersion`;Runtime=$TPB_TargetRuntime`;NetCoreTargetFramework=$TPB_TargetFrameworkCore20 $additionalArgs + & $nugetExe pack $stagingDir\$file -OutputDirectory $packageOutputDir -Version $TPB_Version -Properties Version=$TPB_Version`;JsonNetVersion=$JsonNetVersion`;Runtime=$TPB_TargetRuntime`;NetCoreTargetFramework20=$TPB_TargetFrameworkCore20`;NetCoreTargetFramework=$TPB_TargetFrameworkCore $additionalArgs Set-ScriptFailedOnError } diff --git a/scripts/build/TestPlatform.Settings.targets b/scripts/build/TestPlatform.Settings.targets index a6ab0ab862..0f7664a85c 100644 --- a/scripts/build/TestPlatform.Settings.targets +++ b/scripts/build/TestPlatform.Settings.targets @@ -26,9 +26,6 @@ false - - 1.6.0 diff --git a/scripts/verify-nupkgs.ps1 b/scripts/verify-nupkgs.ps1 index 7b38680665..6d9af869e7 100644 --- a/scripts/verify-nupkgs.ps1 +++ b/scripts/verify-nupkgs.ps1 @@ -16,7 +16,7 @@ function Verify-Nuget-Packages($packageDirectory) "Microsoft.NET.Test.Sdk" = 13; "Microsoft.TestPlatform" = 421; "Microsoft.TestPlatform.Build" = 19; - "Microsoft.TestPlatform.CLI" = 303; + "Microsoft.TestPlatform.CLI" = 305; "Microsoft.TestPlatform.Extensions.TrxLogger" = 33; "Microsoft.TestPlatform.ObjectModel" = 65; "Microsoft.TestPlatform.Portable" = 472; diff --git a/src/Microsoft.TestPlatform.CoreUtilities/Microsoft.TestPlatform.CoreUtilities.csproj b/src/Microsoft.TestPlatform.CoreUtilities/Microsoft.TestPlatform.CoreUtilities.csproj index cfdac10080..e3dba26a36 100644 --- a/src/Microsoft.TestPlatform.CoreUtilities/Microsoft.TestPlatform.CoreUtilities.csproj +++ b/src/Microsoft.TestPlatform.CoreUtilities/Microsoft.TestPlatform.CoreUtilities.csproj @@ -6,7 +6,7 @@ Microsoft.TestPlatform.CoreUtilities - netstandard1.4;net451 + netstandard1.4;net451;netstandard2.0 netstandard1.4 @@ -22,7 +22,7 @@ - 4.0.0 + 4.3.0 diff --git a/src/Microsoft.TestPlatform.CoreUtilities/Tracing/EqtTrace.cs b/src/Microsoft.TestPlatform.CoreUtilities/Tracing/EqtTrace.cs index c946f142d5..ee0194b546 100644 --- a/src/Microsoft.TestPlatform.CoreUtilities/Tracing/EqtTrace.cs +++ b/src/Microsoft.TestPlatform.CoreUtilities/Tracing/EqtTrace.cs @@ -50,7 +50,7 @@ public static TraceLevel TraceLevel #endif -#if NETSTANDARD1_4 +#if NETSTANDARD1_4 || NETSTANDARD2_0 public static PlatformTraceLevel TraceLevel { get diff --git a/src/Microsoft.TestPlatform.Extensions.TrxLogger/Microsoft.TestPlatform.Extensions.TrxLogger.csproj b/src/Microsoft.TestPlatform.Extensions.TrxLogger/Microsoft.TestPlatform.Extensions.TrxLogger.csproj index 21452ae93c..407ef10948 100644 --- a/src/Microsoft.TestPlatform.Extensions.TrxLogger/Microsoft.TestPlatform.Extensions.TrxLogger.csproj +++ b/src/Microsoft.TestPlatform.Extensions.TrxLogger/Microsoft.TestPlatform.Extensions.TrxLogger.csproj @@ -25,13 +25,13 @@ - 4.0.1 + 4.3.0 - 4.0.0 + 4.5.1 - 4.0.1 + 4.3.0 diff --git a/src/Microsoft.TestPlatform.ObjectModel/Microsoft.TestPlatform.ObjectModel.csproj b/src/Microsoft.TestPlatform.ObjectModel/Microsoft.TestPlatform.ObjectModel.csproj index 5810224e7d..9aa52782ea 100644 --- a/src/Microsoft.TestPlatform.ObjectModel/Microsoft.TestPlatform.ObjectModel.csproj +++ b/src/Microsoft.TestPlatform.ObjectModel/Microsoft.TestPlatform.ObjectModel.csproj @@ -6,7 +6,7 @@ Microsoft.VisualStudio.TestPlatform.ObjectModel - net451;netstandard1.4 + net451;netstandard1.4;netstandard2.0 netstandard1.4 Microsoft.TestPlatform.ObjectModel @@ -31,11 +31,8 @@ - - 4.0.0 - - 1.3.0 + 1.6.0 @@ -57,7 +54,12 @@ 4.1.0 - + + + + 4.3.0 + + True diff --git a/src/Microsoft.TestPlatform.PlatformAbstractions/Microsoft.TestPlatform.PlatformAbstractions.csproj b/src/Microsoft.TestPlatform.PlatformAbstractions/Microsoft.TestPlatform.PlatformAbstractions.csproj index d26b12cd0a..1cebd63fb1 100644 --- a/src/Microsoft.TestPlatform.PlatformAbstractions/Microsoft.TestPlatform.PlatformAbstractions.csproj +++ b/src/Microsoft.TestPlatform.PlatformAbstractions/Microsoft.TestPlatform.PlatformAbstractions.csproj @@ -6,7 +6,7 @@ Microsoft.TestPlatform.PlatformAbstractions - netstandard1.0;netcoreapp1.0;net451;uap10.0 + netstandard1.0;netcoreapp1.0;net451;uap10.0;netstandard2.0 netstandard1.0;netcoreapp1.0 false true @@ -31,7 +31,7 @@ - + diff --git a/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Microsoft.TestPlatform.VsTestConsole.TranslationLayer.csproj b/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Microsoft.TestPlatform.VsTestConsole.TranslationLayer.csproj index 1139b62a48..7c10ee5738 100644 --- a/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Microsoft.TestPlatform.VsTestConsole.TranslationLayer.csproj +++ b/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Microsoft.TestPlatform.VsTestConsole.TranslationLayer.csproj @@ -26,12 +26,6 @@ 4.1.1 - - 4.0.1 - - - 4.1.0 - 4.1.0 diff --git a/src/datacollector/datacollector.csproj b/src/datacollector/datacollector.csproj index 267de806d8..eb91d13703 100644 --- a/src/datacollector/datacollector.csproj +++ b/src/datacollector/datacollector.csproj @@ -28,14 +28,9 @@ true - - - 4.0.0 - - - 4.1.0 + 4.3.0 diff --git a/src/package/nuspec/Microsoft.TestPlatform.Portable.nuspec b/src/package/nuspec/Microsoft.TestPlatform.Portable.nuspec index 5236d5b79e..76cd1fdfa3 100644 --- a/src/package/nuspec/Microsoft.TestPlatform.Portable.nuspec +++ b/src/package/nuspec/Microsoft.TestPlatform.Portable.nuspec @@ -369,7 +369,6 @@ - diff --git a/src/package/nuspec/TestPlatform.ObjectModel.nuspec b/src/package/nuspec/TestPlatform.ObjectModel.nuspec index 10b12d8e43..60de365eef 100644 --- a/src/package/nuspec/TestPlatform.ObjectModel.nuspec +++ b/src/package/nuspec/TestPlatform.ObjectModel.nuspec @@ -15,30 +15,17 @@ vstest visual-studio unittest testplatform mstest microsoft test testing - - + - - - - - - - - - - - - - - - - + + - - + + + + @@ -60,6 +47,10 @@ + + + + @@ -122,5 +113,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/vstest.console/vstest.console.csproj b/src/vstest.console/vstest.console.csproj index 9406287458..43d7a3f6c6 100644 --- a/src/vstest.console/vstest.console.csproj +++ b/src/vstest.console/vstest.console.csproj @@ -41,9 +41,6 @@ 4.0.1 - - 4.0.1 - diff --git a/test/Microsoft.TestPlatform.CoreUtilities.UnitTests/Microsoft.TestPlatform.CoreUtilities.UnitTests.csproj b/test/Microsoft.TestPlatform.CoreUtilities.UnitTests/Microsoft.TestPlatform.CoreUtilities.UnitTests.csproj index 5bb71b23a8..b7cc5ed6c6 100644 --- a/test/Microsoft.TestPlatform.CoreUtilities.UnitTests/Microsoft.TestPlatform.CoreUtilities.UnitTests.csproj +++ b/test/Microsoft.TestPlatform.CoreUtilities.UnitTests/Microsoft.TestPlatform.CoreUtilities.UnitTests.csproj @@ -6,8 +6,8 @@ - Exe - netcoreapp1.0;net451 + Exe + netcoreapp1.0;net451;netcoreapp2.1 Microsoft.TestPlatform.CoreUtilities.UnitTests diff --git a/test/Microsoft.TestPlatform.ObjectModel.PlatformTests/Microsoft.TestPlatform.ObjectModel.PlatformTests.csproj b/test/Microsoft.TestPlatform.ObjectModel.PlatformTests/Microsoft.TestPlatform.ObjectModel.PlatformTests.csproj index 1c666086ad..0715b451aa 100644 --- a/test/Microsoft.TestPlatform.ObjectModel.PlatformTests/Microsoft.TestPlatform.ObjectModel.PlatformTests.csproj +++ b/test/Microsoft.TestPlatform.ObjectModel.PlatformTests/Microsoft.TestPlatform.ObjectModel.PlatformTests.csproj @@ -5,8 +5,8 @@ - Exe - netcoreapp1.0;net451 + Exe + netcoreapp1.0;net451;netcoreapp2.1 Microsoft.TestPlatform.ObjectModel.PlatformTests diff --git a/test/Microsoft.TestPlatform.ObjectModel.UnitTests/Microsoft.TestPlatform.ObjectModel.UnitTests.csproj b/test/Microsoft.TestPlatform.ObjectModel.UnitTests/Microsoft.TestPlatform.ObjectModel.UnitTests.csproj index ebc1d26684..0990e7d6a0 100644 --- a/test/Microsoft.TestPlatform.ObjectModel.UnitTests/Microsoft.TestPlatform.ObjectModel.UnitTests.csproj +++ b/test/Microsoft.TestPlatform.ObjectModel.UnitTests/Microsoft.TestPlatform.ObjectModel.UnitTests.csproj @@ -6,8 +6,8 @@ - Exe - netcoreapp1.0;net451 + Exe + netcoreapp1.0;net451;netcoreapp2.1 Microsoft.TestPlatform.ObjectModel.UnitTests