Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Removing dependency on uncompliant and outdated vswhere test package
  • Loading branch information
Preecington committed Nov 21, 2022
commit 668daac8aa2c4f0f9c3e8ec21f5de528c7ecbf39
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