File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -10,34 +10,9 @@ Param(
1010)
1111
1212[int ] $global :Result = 0
13- [bool ] $global :isUnix = [System.Environment ]::OSVersion.Platform -eq [System.PlatformID ]::Unix
1413
1514$_BASEDIR = Split-Path - Path $MyInvocation.MyCommand.Definition - Parent
1615
17- if (! $global :isUnix ) {
18- $_VSWHERE = [System.IO.Path ]::Combine(${env: ProgramFiles(x86)} , ' Microsoft Visual Studio\Installer\vswhere.exe' )
19- $_VSINSTPATH = ' '
20-
21- if ([System.IO.File ]::Exists($_VSWHERE )) {
22- $_VSINSTPATH = & " $_VSWHERE " - latest - requires Microsoft.Component.MSBuild - property installationPath
23- } else {
24- Write-Error " Visual Studio 2022 17.14.26 or later is required"
25- Exit 1
26- }
27-
28- if (-not [System.IO.Directory ]::Exists($_VSINSTPATH )) {
29- Write-Error " Could not determine installation path to Visual Studio"
30- Exit 1
31- }
32-
33- if ([System.IO.File ]::Exists([System.IO.Path ]::Combine($_VSINSTPATH , ' MSBuild\Current\Bin\MSBuild.exe' ))) {
34- $_MSBUILDPATH = [System.IO.Path ]::Combine($_VSINSTPATH , ' MSBuild\Current\Bin\' )
35- if ($env: PATH -split ' ;' -notcontains $_MSBUILDPATH ) {
36- $env: PATH = [String ]::Join(' ;' , $env: PATH , $_MSBUILDPATH )
37- }
38- }
39- }
40-
4116$_defaultFrameworkSettings = @ {
4217 " runner" = " dotnet" ;
4318 " tests" = @ { " Microsoft.Dynamic.Test" = " Tests/Microsoft.Dynamic.Test" ; " Microsoft.Scripting.Test" = " Tests/Microsoft.Scripting.Test" ; " Metadata" = " Tests/Metadata" };
You can’t perform that action at this time.
0 commit comments