Skip to content

Commit 8c73bdb

Browse files
Include TestFramework.Extensions.dll in TestAdapter NuGet package for .NET Framework by @Youssef1313 in #6625 (backport to rel/3.10) (#6626)
Co-authored-by: Youssef1313 <[email protected]>
1 parent 5a56cdb commit 8c73bdb

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

eng/verify-nupkgs.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function Confirm-NugetPackages {
2121
$expectedNumOfFiles = @{
2222
"MSTest.Sdk" = 15
2323
"MSTest.TestFramework" = 162
24-
"MSTest.TestAdapter" = 80
24+
"MSTest.TestAdapter" = 81
2525
"MSTest" = 14
2626
"MSTest.Analyzers" = 56
2727
}

src/Adapter/MSTest.TestAdapter/MSTest.TestAdapter.nuspec

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,13 @@
133133
-->
134134
<file src="net462\Microsoft.VisualStudio.TestPlatform.TestFramework.dll" target="buildTransitive\net462\" />
135135

136+
<!--
137+
Again, for .NET Framework, VSTest considers first MSTest.TestAdapter NuGet package, then considers VS installation.
138+
This can result in TestFramework.Extensions.dll loaded from VS installation which mismatches the other assemblies.
139+
See https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2577652
140+
-->
141+
<file src="net462\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll" target="buildTransitive\net462\" />
142+
136143
<!-- Localization -->
137144
<!-- All TFMs share the same resx, copy only TestAdapter TestAdapter.PlatformServices, do NOT copy TestFramework and other dependency resource dlls. -->
138145
<file src="net462\**\Microsoft.VisualStudio.TestPlatform.*Adapter*.resources.dll" target="\buildTransitive\_localization\" />

0 commit comments

Comments
 (0)