C#无法加载文件或程序集“Microsoft.SharePoint.Library” [英] C# Could not load file or assembly 'Microsoft.SharePoint.Library'

查看:797
本文介绍了C#无法加载文件或程序集“Microsoft.SharePoint.Library”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发的Windows 7的64位版本,运行MOSS(的SharePoint),这是我的dev的机器。

I am developing on a 64bit version of Windows 7, running MOSS (SharePoint), this is my dev machine.

现在,当我部署我的web服务应用到测试服务器的Windows 2003 32位(无Sharepoint的安装)我得到这个错误。

Now when I deploy my web service app to a test server Windows 2003 32bit (no Sharepoint installed) I get this error.

无法加载文件或程序集Microsoft.SharePoint.Library,版本= 12.0.0.0,文化=中性公钥= 71e9bce111e9429c'或它的一个依赖。该系统找不到指定的文件

Could not load file or assembly 'Microsoft.SharePoint.Library, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified

该DLL显然已经复制到bin目录(Microsoft.SharePoint.dll的)。

The DLL has clearly been copied to the bin directory (Microsoft.Sharepoint.dll).

任何想法?

推荐答案

如果您正在使用SharePoint DLL的呢将只安装了SharePoint的机器上工作。

If you are using sharepoint dll's it will only work on a machine with sharepoint installed.

即使你设法破解它,得到它的工作,你可能会被打破了许可协议。

Even if you managed to hack it and get it to work, you would probably be breaking a license agreement.

这篇关于C#无法加载文件或程序集“Microsoft.SharePoint.Library”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆