diff --git a/eng/pipelines/templates/variables/globals.yml b/eng/pipelines/templates/variables/globals.yml index a44ea47c081b..ba31d3449604 100644 --- a/eng/pipelines/templates/variables/globals.yml +++ b/eng/pipelines/templates/variables/globals.yml @@ -13,4 +13,5 @@ variables: DECODE_PERCENTS: false NUGET_PACKAGES: $(Pipeline.Workspace)/.nuget/packages/ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 - DOTNET_CLI_TELEMETRY_OPTOUT: 1 \ No newline at end of file + DOTNET_CLI_TELEMETRY_OPTOUT: 1 + DOTNET_NOLOGO: 1 \ No newline at end of file diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index 74f3866c6c31..faa052f68284 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -25,6 +25,10 @@ function Get-AllPackageInfoFromRepo($serviceDirectory) $pkgPath, $serviceDirectory, $pkgName, $pkgVersion, $sdkType, $isNewSdk = $projectOutput.Split(' ',[System.StringSplitOptions]::RemoveEmptyEntries).Trim("'") + if(!(Test-Path $pkgPath)) { + Write-Host "Parsed package path `$pkgPath` does not exist so skipping the package line '$projectOutput'." + continue + } $pkgProp = [PackageProps]::new($pkgName, $pkgVersion, $pkgPath, $serviceDirectory) $pkgProp.SdkType = $sdkType $pkgProp.IsNewSdk = ($isNewSdk -eq 'true')