From 097626c317bdf3efa16073c19aac4d0c226bb1ee Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Tue, 8 Nov 2016 19:02:59 -0800 Subject: Use /DEPENDENTS instead of /IMPORTS in applocal.ps1 --- scripts/buildsystems/msbuild/applocal.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/buildsystems/msbuild/applocal.ps1 b/scripts/buildsystems/msbuild/applocal.ps1 index 70528e078..ddb4a07f9 100644 --- a/scripts/buildsystems/msbuild/applocal.ps1 +++ b/scripts/buildsystems/msbuild/applocal.ps1 @@ -5,7 +5,7 @@ function resolve($targetBinary) { $targetBinaryPath = Resolve-Path $targetBinary $targetBinaryDir = Split-Path $targetBinaryPath -parent - $a = $(link /dump /imports $targetBinary | ? { $_ -match "^ [^ ].*\.dll" } | % { $_ -replace "^ ","" }) + $a = $(dumpbin /DEPENDENTS $targetBinary | ? { $_ -match "^ [^ ].*\.dll" } | % { $_ -replace "^ ","" }) $a | % { if (Test-Path "$installedDir\$_") { if (Test-Path "$targetBinaryDir\$_") { -- cgit v1.2.3