dotnet-installer/scripts/build/build_appdeps.ps1
David Fowler 73f7550b98 Pin versions and restore less
- Should speed up the build
2016-02-02 23:03:12 -08:00

19 lines
No EOL
571 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.
#
param(
[Parameter(Mandatory=$true)][string]$RepoRoot,
[Parameter(Mandatory=$true)][string]$OutputDir)
$appdepBinDir = "$OutputDir\bin\appdepsdk"
If (Test-Path $appdepBinDir){
rmdir -Force -Rec $appdepBinDir
}
mkdir -Force "$appdepBinDir"
ls "$env:NUGET_PACKAGES\toolchain.win7-x64.Microsoft.DotNet.AppDep\1.0.4-prerelease-00001\*" | foreach {
copy -Rec $_ "$appdepBinDir"
}