title: MSBuild - How to copy files based on condition
body: <p>Using MSBuild how do i copy a file based on configuration of the build i.e. if the build configuration is Staging vs Release. I need to be able to copy FolderA\FileA if the build configuration is Staging and FolderB\FileB for production. Also the file when it gets copied should be at the root of the output directory instead in a folder as FolderA or FolderB. Using  task is throwing errors during project load.</p>