วันพุธที่ 26 กันยายน พ.ศ. 2555

Build Class in Visual Studio and copy to other destination.

Useful for who need auto copy dll so we don't need to manual it.

Ex.
xcopy /y $(ProjectDir)$(OutDir)$(TargetFileName) "C:\Users\pakoros\Documents\Visual Studio 2010\Projects\E-Questionare\CommonLib\CommonDLLs"

This mean after build it will copy to my destination in Visual studio project.
This can setting in
Project Properties > Build Events (Right click on project and setting it.)
in
Post-build event command line:

ไม่มีความคิดเห็น: