(来源于我天一校友网) 如何查找无法搜索到的DLL路径

 
在sharepoint开发中,我需要把服务器上的Microsoft.SharePoint.Library.dll  COPY到我本机相应的目录下。但我通过搜索却未发现这个dll于是我上网找了下。中文没有什么结果,于是尝试英文,发现 http://social.msdn.microsoft.com/Forums/en/sharepointdevelopment/thread/95511fa3-4995-4cab-bef7-922f5dd31fc8个上有一段很有用,原文如下:
Wow, Ishai Sagi, you're the people tries to think in a box, not out of the box.

To Manuel5, even Sharepoint cannot run on a non-sharepoint-server, you still can get the Microsoft.Sharepoint.Library.dll. How?
C:\Windows\Assembly is just like any other folder. It's just speciallized so any other user, or even software developer, can't barely know where is the assembly and freely copied it all.

But you still can copy it. Sounds great isn't it?

Open Command Prompt. And point the folder into C:\Windows\Assembly.

C:\Users\Administrator>cd "C:\Windows\Assembly"

Because of Microsoft.Sharepoint.Library.dll is a MSIL Assembly, then you will point it to GAC_MSIL folder. type DIR again, and you'll see many of Assemblies folder. Point it into Microsoft.Sharepoint.Library.dll folder. In this folder, there's a folder too.., I don't remember exactly the name, coz full of hexa number. Just type DIR again and point again into that folder. Type DIR, and...........................

And BINGO! This is what you want, and you can keep it, or copy it into any folder using COPY command.
大意就是通过命令行的方式到c:\\windows\assembly目录下找,如果有相应的名称,再用cd microsoft.sharepoint.library的方法进入下级目录,下真到最终的DLL出现为此。最后用copy Microsoft.SharePoint.Library.dll c:\的方法就可以把东西Copy出来了。然后再复制到本机即可。
 
记录下来,以备它用。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值