Yes you can do it. Two things you might need:
- Manual work with a .proj file in a text editor (or Visual Studio when unloading a project)
- Using conditional execution of MSBUILD
Sample code to get you started. Adjust it as desired.
<Target Name="AfterBuild" Condition="'$(Configuration)'=='Production'"> <Copy SourceFiles=".../robot.txt" DestinationFolder="..."/> </Target>
source share