Skip to content

Commit

Permalink
Explicitly add exe extension
Browse files Browse the repository at this point in the history
When installing .NET Core SDK, add the .exe extension to the file name.
  • Loading branch information
martincostello committed Apr 8, 2019
1 parent 098dfd7 commit e0c4959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if ($installDotNetSdk -eq $true) {
}

$env:PATH = "$env:DOTNET_INSTALL_DIR;$env:PATH"
$dotnet = "$env:DOTNET_INSTALL_DIR\dotnet"
$dotnet = "$env:DOTNET_INSTALL_DIR\dotnet.exe"
}
else {
$dotnet = "dotnet"
Expand Down

0 comments on commit e0c4959

Please sign in to comment.