diff --git a/scripts/build.ps1 b/scripts/build.ps1
index f248f443b6..afda57c327 100644
--- a/scripts/build.ps1
+++ b/scripts/build.ps1
@@ -525,6 +525,9 @@ function Create-NugetPackages
# Call nuget pack on these components.
$nugetExe = Join-Path $env:TP_PACKAGES_DIR -ChildPath "Nuget.CommandLine" | Join-Path -ChildPath $env:NUGET_EXE_Version | Join-Path -ChildPath "tools\NuGet.exe"
+ # Pass Newtonsoft.Json version to nuget pack to keep the version consistent across all nuget packages.
+ $JsonNetVersion = ([xml](Get-Content $env:TP_ROOT_DIR\scripts\build\TestPlatform.Dependencies.props)).Project.PropertyGroup.JsonNetVersion
+
# package them from stagingDir
foreach ($file in $nuspecFiles) {
$additionalArgs = ""
@@ -533,7 +536,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`;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`;NetCoreTargetFramework=$TPB_TargetFrameworkCore20 $additionalArgs
}
Write-Log "Create-NugetPackages: Complete. {$(Get-ElapsedTime($timer))}"
diff --git a/src/package/nuspec/Microsoft.NET.Test.Sdk.nuspec b/src/package/nuspec/Microsoft.NET.Test.Sdk.nuspec
index 40105a70ec..75930c2c16 100644
--- a/src/package/nuspec/Microsoft.NET.Test.Sdk.nuspec
+++ b/src/package/nuspec/Microsoft.NET.Test.Sdk.nuspec
@@ -9,12 +9,27 @@
true
http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm
http://go.microsoft.com/fwlink/?LinkID=288859
- The MSbuild targets and properties for building the .Net core test projects.
+ The MSbuild targets and properties for building .NET test projects.
© Microsoft Corporation. All rights reserved.
https://github.com/microsoft/vstest/
+ vstest visual-studio unittest testplatform mstest microsoft test testing
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/package/nuspec/Microsoft.TestPlatform.Portable.nuspec b/src/package/nuspec/Microsoft.TestPlatform.Portable.nuspec
index f46baeb42f..16b91c6835 100644
--- a/src/package/nuspec/Microsoft.TestPlatform.Portable.nuspec
+++ b/src/package/nuspec/Microsoft.TestPlatform.Portable.nuspec
@@ -12,7 +12,7 @@
http://go.microsoft.com/fwlink/?LinkID=288859
https://github.com/microsoft/vstest/
© Microsoft Corporation. All rights reserved.
- vstest visual-studio unittest testplatform mstest microsoft
+ vstest visual-studio unittest testplatform mstest microsoft test testing
diff --git a/src/package/nuspec/Microsoft.TestPlatform.nuspec b/src/package/nuspec/Microsoft.TestPlatform.nuspec
index 588a29bd20..28090a4805 100644
--- a/src/package/nuspec/Microsoft.TestPlatform.nuspec
+++ b/src/package/nuspec/Microsoft.TestPlatform.nuspec
@@ -12,7 +12,7 @@
http://go.microsoft.com/fwlink/?LinkID=288859
https://github.com/microsoft/vstest/
© Microsoft Corporation. All rights reserved.
- vstest visual-studio unittest testplatform mstest microsoft
+ vstest visual-studio unittest testplatform mstest microsoft test testing
diff --git a/src/package/nuspec/TestPlatform.Build.nuspec b/src/package/nuspec/TestPlatform.Build.nuspec
index 5f0e81a78e..fd7941f8fe 100644
--- a/src/package/nuspec/TestPlatform.Build.nuspec
+++ b/src/package/nuspec/TestPlatform.Build.nuspec
@@ -12,6 +12,7 @@
http://go.microsoft.com/fwlink/?LinkID=288859
https://github.com/microsoft/vstest/
© Microsoft Corporation. All rights reserved.
+ vstest visual-studio unittest testplatform mstest microsoft test testing
diff --git a/src/package/nuspec/TestPlatform.CLI.nuspec b/src/package/nuspec/TestPlatform.CLI.nuspec
index 85c526dcc5..becadfdfdf 100644
--- a/src/package/nuspec/TestPlatform.CLI.nuspec
+++ b/src/package/nuspec/TestPlatform.CLI.nuspec
@@ -12,6 +12,7 @@
http://go.microsoft.com/fwlink/?LinkID=288859
https://github.com/microsoft/vstest/
© Microsoft Corporation. All rights reserved.
+ vstest visual-studio unittest testplatform mstest microsoft test testing
diff --git a/src/package/nuspec/TestPlatform.ObjectModel.nuspec b/src/package/nuspec/TestPlatform.ObjectModel.nuspec
index 150434fdba..35df72b042 100644
--- a/src/package/nuspec/TestPlatform.ObjectModel.nuspec
+++ b/src/package/nuspec/TestPlatform.ObjectModel.nuspec
@@ -12,6 +12,7 @@
http://go.microsoft.com/fwlink/?LinkID=288859
https://github.com/microsoft/vstest/
© Microsoft Corporation. All rights reserved.
+ vstest visual-studio unittest testplatform mstest microsoft test testing
diff --git a/src/package/nuspec/TestPlatform.TestHost.nuspec b/src/package/nuspec/TestPlatform.TestHost.nuspec
index a770723946..2f859dff00 100644
--- a/src/package/nuspec/TestPlatform.TestHost.nuspec
+++ b/src/package/nuspec/TestPlatform.TestHost.nuspec
@@ -12,17 +12,16 @@
http://go.microsoft.com/fwlink/?LinkID=288859
https://github.com/microsoft/vstest/
© Microsoft Corporation. All rights reserved.
+ vstest visual-studio unittest testplatform mstest microsoft test testing
-
-
-
+
-
+
diff --git a/src/package/nuspec/TestPlatform.TranslationLayer.nuspec b/src/package/nuspec/TestPlatform.TranslationLayer.nuspec
index 43490a0e48..4fc84e16c7 100644
--- a/src/package/nuspec/TestPlatform.TranslationLayer.nuspec
+++ b/src/package/nuspec/TestPlatform.TranslationLayer.nuspec
@@ -12,9 +12,10 @@
http://go.microsoft.com/fwlink/?LinkID=288859
https://github.com/microsoft/vstest/
© Microsoft Corporation. All rights reserved.
+ vstest visual-studio unittest testplatform mstest microsoft test testing
-
+
@@ -29,7 +30,7 @@
-
+