dotnet-installer/scripts/test/setup/restore-test-prerequisites.ps1
Eric Erhardt 3d14caceff Test directory refactoring step 1.
Moving TestProjects and TestPackages under root 'TestAssets' folder.

Partial fix #1250
2016-02-08 20:35:22 -06:00

14 lines
497 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 TestAssets"
& dotnet restore "$RepoRoot\TestAssets" --quiet --runtime "$Rid"
$oldErrorAction=$ErrorActionPreference
$ErrorActionPreference="SilentlyContinue"
& dotnet restore "$RepoRoot\testapp" "$Rid" 2>&1 | Out-Null
$ErrorActionPreference=$oldErrorAction