首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式碼之家 >> 編程語言 >  >> C語言 >> 關於C語言

.NET 開發工具鏈全景:從編譯器到部署的 32 款核心工具詳解

     編輯:關於C語言

核心開發環境

  1. Visual Studio.NET:核心 IDE,內建 C#、VB.NET、C++ 等語言

組件與 Metadata 工具

  1. al.exe (Assembly Generation Utility):資源檔/MSIL → 含資訊清單的組件
  2. gacutil.exe (Global Assembly Cache Utility):瀏覽/操作 GAC
  3. ilasm.exe (MSIL Assembler):MSIL 文本 → PE 檔
  4. ildasm.exe (MSIL Disassembler):PE → MSIL 文本(配合 ilasm 往返轉換)
  5. sn.exe (Strong Name Utility):共享名稱簽章組件
  6. peverify.exe:驗證 MSIL/Metadata 型別安全

COM 互操作工具

  1. aximp.exe (Windows Forms ActiveX Control Importer):COM 型別定義 → Windows Forms 控制項
  2. tlbimp.exe (Type Library Importer):COM 型別庫 → CLR 相容定義
  3. tlbexp.exe (Type Library Exporter):組件公共型別 → COM 型別庫
  4. regasm.exe (Assembly Registration Tool):註冊組件供 COM 呼叫
  5. regsvcs.exe (Services Registration Tool):載入/註冊組件至 COM+ 1.0

安全性與憑證工具

  1. caspol.exe (Code Access Security Policy Utility):使用者/機器層級安全策略
  2. certmgr.exe (Certificate Manager Utility):管理憑證、信任清單、撤銷清單
  3. makecert.exe (Certificate Creation Utility):產生 X.509 憑證與金鑰對
  4. cert2spc.exe (Software Publisher Certificate Test Utility):X.509 → SPC
  5. chktrust.exe (Certificate Verification Utility):驗證憑證簽章合法性
  6. secutil.exe (Secutil Utility):擷取組件安全資訊
  7. setreg.exe (Set Registry Utility):設定註冊表公開金鑰系統
  8. signcode.exe (File Signing Utility):PE 檔簽章,強化安全控制

偵錯與分析工具

  1. cordbg.exe (Runtime Debugger):CLR 應用程式命令列除錯器
  2. wincv.exe (Windows Forms Class Viewer):快速搜尋類別/成員資訊
  3. windes.exe (Windows Forms Designer Test Container):測試控制項設計時行為

資源與部署工具

  1. resgen.exe (Resource File Generator):文字/XML 資源 → CLR 二進位資源
  2. lc.exe (License Compiler):授權資源嵌入執行檔
  3. installutil.exe (Installer Utility):安裝/解除安裝服務資源
  4. storeadm.exe (Isolated Storage Utility):管理隔離儲存區

Web 服務與 XML 工具

  1. soapsuds.exe (Soapsuds Utility):遠端技術編譯 Web 服務用戶端
  2. webserviceutil.exe (Web Service Utility):建立 ASP.NET Web 服務/用戶端
  3. xsd.exe (XML Schema Definition Tool):XML 結構定義產生/驗證
  4. permview.exe (Permissions View Utility):透過組件瀏覽權限集

總結

這 32 款工具涵蓋開發全生命週期:編譯、除錯、部署、安全、互操作、Web 服務。熟善用命令列工具可實現自動化建構、CI/CD 整合與進階診斷,是 .NET 開發者進階必備技能。

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式碼之家 All Rights Reserved