51eca0bcba
_nuget needs some RepoRoots get the cats in line (d) spaces Fix Linux build breaks add execution permissions Pick up #999 Finish refactoring test scripts remove auth Reorder publishing to work! fix rebase errors fix more rebase errors small fixes
14 lines
502 B
PowerShell
14 lines
502 B
PowerShell
#
|
|
# Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
#
|
|
|
|
". $PSScriptRoot\..\..\common\_common.ps1"
|
|
|
|
header "Restoring packages"
|
|
& dotnet restore "$RepoRoot\test\TestPackages" --quiet --runtime "$Rid"
|
|
|
|
$oldErrorAction=$ErrorActionPreference
|
|
$ErrorActionPreference="SilentlyContinue"
|
|
& dotnet restore "$RepoRoot\testapp" "$Rid" 2>&1 | Out-Null
|
|
$ErrorActionPreference=$oldErrorAction
|