You can create a Target object that looks like this:
<Target Name = "CopyFiles" DependsOnTargets = "YourBuildTargets">
<CreateItem Include = "YourSolutionPath \ bin \ $ (Configuration) \ *. *">
<Output ItemName="YourProjectOutputFiles" TaskParameter="Include"></Output>
</CreateItem>
<Copy SourceFiles="@(YourProjectOutputFiles)" DestinationFolder="$(DestinationFolder)"></Copy>
</Target>
CopyFiles, YourBuildTargets ( , ). , (*. *) . Copy , , . , 1 MSBuild script, CreateItem node Copy node .
, , .csproj.
CopyFiles , script.