Skip to content

Commit

Permalink
Fix nuget creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelink committed May 18, 2022
1 parent 30859ff commit 37809ee
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions scripts/verify-nupkgs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ function Verify-Nuget-Packages($packageDirectory, $version)
$expectedNumOfFiles = @{
"Microsoft.CodeCoverage" = 57;
"Microsoft.NET.Test.Sdk" = 27;
"Microsoft.TestPlatform" = 624;
"Microsoft.TestPlatform" = 600;
"Microsoft.TestPlatform.Build" = 21;
"Microsoft.TestPlatform.CLI" = 427;
"Microsoft.TestPlatform.CLI" = 499;
"Microsoft.TestPlatform.Extensions.TrxLogger" = 35;
"Microsoft.TestPlatform.ObjectModel" = 238;
"Microsoft.TestPlatform.AdapterUtilities" = 62;
"Microsoft.TestPlatform.Portable" = 648;
"Microsoft.TestPlatform.Portable" = 600;
"Microsoft.TestPlatform.TestHost" = 214;
"Microsoft.TestPlatform.TranslationLayer" = 123;
"Microsoft.TestPlatform.Internal.Uwp" = 86;
Expand Down Expand Up @@ -64,7 +64,7 @@ function Verify-Nuget-Packages($packageDirectory, $version)
}
}

if ($errors) {
if ($errors) {
Write-Error "There are $($errors.Count) errors:`n$($errors -join "`n")"
}

Expand Down
36 changes: 18 additions & 18 deletions src/package/nuspec/Microsoft.TestPlatform.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@
<file src="net451\$Runtime$\Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel.dll" />
<file src="net451\$Runtime$\Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip.dll" />
<file src="net451\$Runtime$\Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip.dll" />
<file src="net451\$Runtime$\Microsoft.VisualStudio.TestPlatform.Client.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\Microsoft.VisualStudio.TestPlatform.Client.dll" />
<file src="net451\$Runtime$\Microsoft.VisualStudio.TestPlatform.Common.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\Microsoft.VisualStudio.TestPlatform.Common.dll" />
<file src="net462\$Runtime$\Microsoft.VisualStudio.TestPlatform.Client.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\Microsoft.VisualStudio.TestPlatform.Client.dll" />
<file src="net462\$Runtime$\Microsoft.VisualStudio.TestPlatform.Common.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\Microsoft.VisualStudio.TestPlatform.Common.dll" />
<file src="net451\$Runtime$\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll" />
<file src="net451\$Runtime$\Microsoft.VisualStudio.TestTools.UITest.Extension.IE.Communication.sxs.manifest" target="tools\net462\Common7\IDE\Extensions\TestPlatform\Microsoft.VisualStudio.TestTools.UITest.Extension.IE.Communication.sxs.manifest" />
<file src="net451\$Runtime$\Microsoft.VisualStudio.TestTools.UITest.Playback.Engine.sxs.manifest" target="tools\net462\Common7\IDE\Extensions\TestPlatform\Microsoft.VisualStudio.TestTools.UITest.Playback.Engine.sxs.manifest" />
Expand Down Expand Up @@ -512,23 +512,23 @@
<file src="net462\$Runtime$\TestHost\Microsoft.TestPlatform.Utilities.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.TestPlatform.Utilities.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestPlatform.Common.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestPlatform.Common.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Arm.Resources.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Arm.Resources.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.arm64.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.arm64.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Arm.Resources.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Arm.Resources.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.arm64.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.arm64.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.ComInterfaces.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.ComInterfaces.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.CppUnitTestExtension.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.CppUnitTestExtension.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Discoverer.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Discoverer.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.Arm.Resources.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.Arm.Resources.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.arm64.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.arm64.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.arm64.dll.manifest" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.arm64.dll.manifest" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll.manifest" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll.manifest" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.Resources.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.Resources.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.x64.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.x64.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.x64.dll.manifest" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.x64.dll.manifest" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Resources.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Resources.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.TestEngine.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.TestEngine.dll" />
<file src="net451\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.x64.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.x64.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.CppUnitTestExtension.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.CppUnitTestExtension.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Discoverer.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Discoverer.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.Arm.Resources.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.Arm.Resources.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.arm64.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.arm64.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.arm64.dll.manifest" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.arm64.dll.manifest" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll.manifest" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll.manifest" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.Resources.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.Resources.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.x64.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.x64.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.x64.dll.manifest" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.x64.dll.manifest" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Resources.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Resources.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.TestEngine.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.TestEngine.dll" />
<file src="net462\$Runtime$\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.x64.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.x64.dll" />
<file src="net462\$Runtime$\TestHost\Newtonsoft.Json.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\Newtonsoft.Json.dll" />
<file src="net462\$Runtime$\TestHost\NuGet.Frameworks.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\NuGet.Frameworks.dll" />
<file src="net462\$Runtime$\TestHost\System.ComponentModel.Composition.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHost\System.ComponentModel.Composition.dll" />
Expand Down

0 comments on commit 37809ee

Please sign in to comment.