แสดงบทความที่มีป้ายกำกับ Visual Studio แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ Visual Studio แสดงบทความทั้งหมด

วันพุธที่ 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:

วันอังคารที่ 4 กันยายน พ.ศ. 2555

PHP include UTF8 have strange line or space.

Because UTF8 hast 2 type this explain in

http://www.w3.org/International/questions/qa-utf8-bom.en.php

This explain about UTF8 BOM and Remove BOM

For Visual Studio.NET Use
UTF8 with signature for BOM and
UTF8 without signature for remove BOM

To do this you must use "File > Advanced save options..."