Skip to content

Commit 1fcc717

Browse files
authored
Check vstest.console.dll instead of .exe (#5149)
1 parent 4af0f0d commit 1fcc717

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

eng/verify-nupkgs.ps1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,10 @@ function Verify-NugetPackageVersion {
281281
$UnzipNugetPackages
282282
)
283283

284-
$exes = $UnzipNugetPackages | Get-ChildItem -Filter vstest.console.exe -Recurse -Force
285-
if (0 -eq @($exes).Length) {
286-
throw "No vstest.console.exe was found."
284+
# look for vstest.console.dll because unified build for .NET does not produce vstest.console.exe
285+
$exes = $UnzipNugetPackages | Get-ChildItem -Filter vstest.console.dll -Recurse -Force
286+
if (0 -eq @($exes).Length) {
287+
throw "No vstest.console.dll files were found."
287288
}
288289

289290
$exes | ForEach-Object {

0 commit comments

Comments
 (0)