How to Copy an Assembly From the GAC to the File System

摘要:How to Copy an Assembly From the GAC to the File System

GAC目錄並不是一般目錄,若由檔案目錄瀏覽是無法複製裡面的dll的,所以找了一篇相關文章給大家參考。

http://blogs.msdn.com/b/johnwpowell/archive/2009/01/14/how-to-copy-an-assembly-from-the-gac.aspx

這篇文章大意是說,欲複製GAC內的dll有三種方法:

  1. 修改註冊機碼(最不建議)
  2. 使用DOS CMD指令直接複製
  3. 使用SUBST 指令,建立GAC目錄的捷徑(應該是最容易的)