We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 602fa30 commit 29336faCopy full SHA for 29336fa
eng/scripts/Automation-Sdk-Generate.ps1
@@ -55,7 +55,12 @@ foreach ($path in $autorestFilesPath) {
55
Write-Host "Updated autorest.md files for all the changed swaggers. `n"
56
57
$packages = @()
58
-$dotnet = Join-Path $RepoRoot "../dotnetsdk"
+if (-not (Test-Path Env:AGENT_TOOLSDIRECTORY))
59
+{
60
+ $Env:AGENT_TOOLSDIRECTORY = Join-Path $RepoRoot ".."
61
+}
62
+Write-Host $Env:AGENT_TOOLSDIRECTORY
63
+$dotnet = Join-Path $Env:AGENT_TOOLSDIRECTORY "dotnetsdk"
64
Write-Host "List dotnet directory"
65
ls $dotnet | Write-Host
66
$env:PATH = "$dotnet`:" + $env:PATH
0 commit comments