# Add dotnet to PATH. This prevents any bare invocation of dotnet in custom
...
...
@@ -216,7 +232,10 @@ function InstallDotNet([string] $dotnetRoot,
}
catch{
Write-PipelineTelemetryError-Category'InitializeToolset'-Message"Failed to install dotnet runtime '$runtime' from custom location '$runtimeSourceFeed'."
ExitWithExitCode1
}
}else{
ExitWithExitCode1
}
}
}
...
...
@@ -274,8 +293,11 @@ function InitializeVisualStudioMSBuild([bool]$install, [object]$vsRequirements =