Skip to content

Commit

Permalink
Removing dependency on uncompliant and outdated vswhere test package (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Preecington authored Nov 22, 2022
1 parent f4ef329 commit 6055820
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .nuget/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="MicroBuild.Core" version="0.2.0" />
<package id="vswhere" version="1.0.62" />
</packages>
4 changes: 2 additions & 2 deletions tools/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ if ($Type -contains 'Unit' -or $Type -contains 'Functional')
# Find vstest.console.exe.
$cmd = get-command vstest.console.exe -ea SilentlyContinue | select-object -expand Path
if (-not $cmd) {
$vswhere = get-childitem "$PSScriptRoot\..\packages\vswhere*" -filter vswhere.exe -recurse | select-object -first 1 -expand FullName
$vswhere = get-childitem "$PSScriptRoot\..\bin\*" -filter vswhere.exe -recurse | select-object -first 1 -expand FullName
if (-not $vswhere) {
write-error 'Please run "nuget restore" on the solution to download vswhere.'
write-error 'Please build vswhere before running tests.'
exit 1
}

Expand Down

0 comments on commit 6055820

Please sign in to comment.