Answer the question
In order to leave comments, you need to log in
What could be the problem when copying files with RoboCopy in MSBuild?
Greetings, when passing a parameter through Azure DevOps a list of modules to copy and substituting it in Files, quotes are always attached to the name of the first module from the list.
Example log from Azure:
C:\Windows\SYSTEM32\RoboCopy.exe "\\srv-vmb\Build Results\Out\Win32\Release" "\\srv-vmb\Build Results\Components\_Cumulative_patches\ModulesCumPatch\test_Win32\Release" "SRDD.sys" SVQ.sys Tuning.dll /S /MT /XD Signed_LSA SRDD SVQ Tuning
Running C:\Windows\SYSTEM32\RoboCopy.exe "\\srv-vmb\Build Results\Out\Win32\Release" "\\srv-vmb\Build Results\Components\_Cumulative_patches\ModulesCumPatch\test_Win32\Release" "SRDD.sys" SVQ.sys Tuning.dll /S /MT /XD Signed_LSA SRDD SVQ Tuning
Return Code 0. No errors occurred, and no copying was done. The source and destination directory trees are completely synchronized.
<MSBuild.ExtensionPack.FileSystem.RoboCopy Source="$(FolderModulesForCopy)\Win32\Release"
Destination="$(CumModulesDir)\test_Win32\Release"
Files="$(CumFiles)"
Options="/S /MT /XD Signed_LSA @(ExcludeDir, ' ')"/>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question