dotnet-installer/scripts/build/build_appdeps.ps1

20 lines
572 B
PowerShell
Raw Normal View History

2016-01-28 14:22:48 -08:00
#
# 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
}
2016-01-28 14:22:48 -08:00
mkdir -Force "$appdepBinDir"
2016-02-03 12:10:17 -08:00
ls "$env:NUGET_PACKAGES\toolchain.win7-x64.Microsoft.DotNet.AppDep\1.0.5-prerelease-00001\*" | foreach {
2016-01-28 14:22:48 -08:00
copy -Rec $_ "$appdepBinDir"
2016-02-03 12:10:17 -08:00
}