核心開發環境
- Visual Studio.NET:核心 IDE,內建 C#、VB.NET、C++ 等語言
組件與 Metadata 工具
- al.exe (Assembly Generation Utility):資源檔/MSIL → 含資訊清單的組件
- gacutil.exe (Global Assembly Cache Utility):瀏覽/操作 GAC
- ilasm.exe (MSIL Assembler):MSIL 文本 → PE 檔
- ildasm.exe (MSIL Disassembler):PE → MSIL 文本(配合 ilasm 往返轉換)
- sn.exe (Strong Name Utility):共享名稱簽章組件
- peverify.exe:驗證 MSIL/Metadata 型別安全
COM 互操作工具
- aximp.exe (Windows Forms ActiveX Control Importer):COM 型別定義 → Windows Forms 控制項
- tlbimp.exe (Type Library Importer):COM 型別庫 → CLR 相容定義
- tlbexp.exe (Type Library Exporter):組件公共型別 → COM 型別庫
- regasm.exe (Assembly Registration Tool):註冊組件供 COM 呼叫
- regsvcs.exe (Services Registration Tool):載入/註冊組件至 COM+ 1.0
安全性與憑證工具
- caspol.exe (Code Access Security Policy Utility):使用者/機器層級安全策略
- certmgr.exe (Certificate Manager Utility):管理憑證、信任清單、撤銷清單
- makecert.exe (Certificate Creation Utility):產生 X.509 憑證與金鑰對
- cert2spc.exe (Software Publisher Certificate Test Utility):X.509 → SPC
- chktrust.exe (Certificate Verification Utility):驗證憑證簽章合法性
- secutil.exe (Secutil Utility):擷取組件安全資訊
- setreg.exe (Set Registry Utility):設定註冊表公開金鑰系統
- signcode.exe (File Signing Utility):PE 檔簽章,強化安全控制
偵錯與分析工具
- cordbg.exe (Runtime Debugger):CLR 應用程式命令列除錯器
- wincv.exe (Windows Forms Class Viewer):快速搜尋類別/成員資訊
- windes.exe (Windows Forms Designer Test Container):測試控制項設計時行為
資源與部署工具
- resgen.exe (Resource File Generator):文字/XML 資源 → CLR 二進位資源
- lc.exe (License Compiler):授權資源嵌入執行檔
- installutil.exe (Installer Utility):安裝/解除安裝服務資源
- storeadm.exe (Isolated Storage Utility):管理隔離儲存區
Web 服務與 XML 工具
- soapsuds.exe (Soapsuds Utility):遠端技術編譯 Web 服務用戶端
- webserviceutil.exe (Web Service Utility):建立 ASP.NET Web 服務/用戶端
- xsd.exe (XML Schema Definition Tool):XML 結構定義產生/驗證
- permview.exe (Permissions View Utility):透過組件瀏覽權限集
總結
這 32 款工具涵蓋開發全生命週期:編譯、除錯、部署、安全、互操作、Web 服務。熟善用命令列工具可實現自動化建構、CI/CD 整合與進階診斷,是 .NET 開發者進階必備技能。