diff --git a/.gitignore b/.gitignore index db96b63..a71fe14 100644 --- a/.gitignore +++ b/.gitignore @@ -260,3 +260,6 @@ paket-files/ __pycache__/ *.pyc **/launchSettings.json + + +global.json \ No newline at end of file diff --git a/build.ps1 b/build.ps1 index b61336a..304207e 100644 --- a/build.ps1 +++ b/build.ps1 @@ -45,7 +45,7 @@ try { } # If dotnet is installed locally, and expected version is not set or installation matches the expected version if ($null -ne (Get-Command "dotnet" -ErrorAction SilentlyContinue) -and ` - (!(Test-Path variable:DotNetVersion) -or $(& cmd /c 'dotnet --version 2>&1') -eq $DotNetVersion)) { + (!(Test-Path variable:DotNetVersion) -or $(& cmd.exe /c 'dotnet --version 2>&1') -eq $DotNetVersion)) { $env:DOTNET_EXE = (Get-Command "dotnet").Path } else {