Skip to content

Project Convention

  • โปรเจ็กต์: RevitToolkit
  • namespace หลัก: RevitToolkit
  • command แรก: Command
  • manifest: RevitToolkit.addin

โครงสร้างที่ใช้

Section titled “โครงสร้างที่ใช้”
RevitToolkit/
Command.cs
RevitToolkit.csproj
RevitToolkit.addin
Properties/
launchSettings.json
deploy/
Revit/
2026/
RevitToolkit/
RevitToolkit.dll

เหตุผลที่ใช้ deploy folder แยกจาก bin

Section titled “เหตุผลที่ใช้ deploy folder แยกจาก bin”
  • bin\Debug และ bin\Release เปลี่ยนตาม configuration
  • .addin ต้องชี้ไป path ที่นิ่งและอยู่ได้ยาว
  • ถ้าใช้ deploy folder คงที่ จะไม่ต้องไล่แก้ <Assembly> บ่อย