We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34835b8 commit 6d7ec14Copy full SHA for 6d7ec14
build.psm1
@@ -510,15 +510,15 @@ function Get-DotnetExe
510
# check the usual places
511
if ( ! (test-path variable:IsWindows) -or $IsWindows ) {
512
$dotnetHuntPath = "$HOME\AppData\Local\Microsoft\dotnet\dotnet.exe"
513
- Write-Verbose -Verbose "checking $dotnetHuntPath"
+ Write-Verbose -Verbose "checking Windows $dotnetHuntPath"
514
if ( test-path $dotnetHuntPath ) {
515
$script:DotnetExe = $dotnetHuntPath
516
return $dotnetHuntPath
517
}
518
519
else {
520
$dotnetHuntPath = "$HOME/.dotnet/dotnet"
521
+ Write-Verbose -Verbose "checking non-Windows $dotnetHuntPath"
522
523
524
0 commit comments