随笔 - 31  文章 - 2 评论 - 50 trackbacks - 0

  If you want to add a dll from GAC through selecting the file from

C:\windows\Asmebly directly , maybe you will get the “File is not found” error.

Because this file is not located there.

And you can not visit the folder or file using windows browser.

However how do you add reference dll from GAC?

I found a way to solve this problem.

 If you watch the folder structure of C:\windows\asembly in command environment,

You will found the real structure and the real path of GAC.

You can get the real path using this way, and type it in the add reference dialog with

the absolute full path to add GAC dll to your project references.
OK, it's done :)

posted on 2007-03-21 15:45  ColorSky  阅读(...)  评论(... 编辑 收藏