I am using the following beforebuild target and this works fine:
<Target Name="BeforeBuild" Condition=" $(Configuration) == 'Debug' ">
<Exec Command="xcopy ..\mycomponent\mylateboundassembly\bin\debug\*.* bin /q /r /y">
</Target>
however when the folder mycomponent has a space in it (my component) which i cannot remove(legacy code), I cannot get xcopy to work
Anyone know a way use xcopy in beforebuild where paths have a space?
Thanks
I got this to work by performing the following:
Add an item to the property group (test)
Then in Exec command use the property group item