Skip to content

Commit b18de9d

Browse files
committed
Fix copy script
1 parent a89b9f4 commit b18de9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azure-pipelines-templates/check-mdp-for-build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,17 @@ steps:
7777
7878
Write-Output "VsWherePath is: $VsWherePath"
7979
80-
$VsInstance = $(&$VSWherePath -latest -property displayName)
80+
$VsInstance = & $VsWherePath -latest -property displayName
8181
8282
Write-Output "Latest VS is: $VsInstance"
8383
8484
# copy MDP file to msbuild location
85-
$VsPath = $(&$VsWherePath -latest -property installationPath)
85+
$VsPath = & $VSWherePath -latest -property installationPath
8686
8787
Write-Debug "Copy MDP DLL to msbuild location"
8888
8989
$msbuildPath = $VsPath + "\MSBuild"
9090
9191
$extensionPath = $msbuildPath + "\nanoFramework\v1.0"
9292
93-
Copy-Item -Path "$env:Pipeline_Workspace\mdp" -Destination $msbuildPath -Force -Verbose
93+
Copy-Item -Path "$env:Pipeline_Workspace\mdp\*" -Destination $extensionPath -Force -Verbose

0 commit comments

Comments
 (0)