Saturday, August 24, 2013

VS IDE Post-build Event: Copy Files

The following line (specified in the "Post-build event command line" under "Build Events" of the project property) will copies the dll generated in a Visual Studio project to a folder "Libs" in the solution directory:


xcopy $(TargetDir)*.dll "$(SolutionDir)Libs" /D /Y

No comments:

Post a Comment