I have Window Application and I have some plugins & it\'s ChildPlugins which I placed in My Application folder structure(see folder structure image). I used SVN as sour
I have used this:
xcopy "$(ProjectDir)MyFolder\*.*" "$(SolutionDir)ConsoleApplication1\bin\Release\MyFolder" /Y /I /E
And worked fine, the folder 'MyFolder' appear into my 'Release' folder when I compile the project with all the documents in it.
Something to point out here is that the path that is after $(SolutionDir) would change depending of the name of your solution, my solution is ConsoleApplication1.
Better if it doesn't require a path with solution name or configuration type:
xcopy "$(ProjectDir)MyFolder\*.*" "$(TargetDir)\MyFolder" /Y /I /E
Here is an example of copying Assets folder (located in the project folder) into bin(debug or release ...)\Assets
<Target Name="BeforeBuild">
<Exec Command="xcopy "$(ProjectDir)Assets\*.*" "$(ProjectDir)bin\$(Configuration)\Assets" /Y /I /E" />
</Target>
Note, double quotes are replaced with a special word
You need to add the /E switch to copy subdirectories (including Empty ones).