The easiest way to set this up is to use a post build event. These run once a build is successfully completed and has a set of handy macros to make access to common outputs, like compiled files, very easy
For example. Here are the steps to a compiled DLL / EXE into c:\temp
- Right Click on the Project and select "Properties"
- Click on the Build Events Tab
- Add the following line to the "Post-Build" box:
copy "$(TargetPath)" c:\temp
In the above $(TargetPath) is a macro for the primary output of a build task: typically the EXE or DLL file. If you click on the "Edit Post Build" button, then macros you can see the full list of supported macros.
answered 2011-04-20T16:35:05.680