为什么 Sharepoint 2010 仅限于 .Net 3.5?

发布于 2024-10-03 09:43:11 字数 269 浏览 0 评论 0原文

我刚刚接触Sharepoint 2010的开发。我不明白的是:为什么所有Sharepoint项目都限制使用.Net 3.5框架?

我知道 Sharepoint 2010 是在框架 3.5 之上开发的,但为什么我不能在 .Net 4.0 项目中引用 Sharepoint 2010 dll?例如客户端对象模型?

据我了解,.Net 4.0 项目可以正常使用 .Net 3.5 程序集而不会出现问题。为什么这不适用于 Sharepoint 2010 程序集?

感谢您的帮助! 洛科

I just came in contact with development for Sharepoint 2010. What I don't understand is: why are all Sharepoint project restricted to use the .Net 3.5 framework?

I understand that Sharepoint 2010 is developed on top of framework 3.5 but why cant i reference Sharepoint 2010 dlls in a .Net 4.0 project? For example the Client Object Model?

As I understand it a .Net 4.0 project can use .Net 3.5 Assemblies without problems normally. Why doesn't this work for Sharepoint 2010 assemblies?

Thanks for your help!
Rocko

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

征﹌骨岁月お 2024-10-10 09:43:11

这是一个什么样的项目?

如果它是 WebPart 或 WorkFlow 项目,那么它将在 SharePoint 2010 实例下运行,因此需要 .NET 3.5。

我看到的部分解决方案是创建一个托管在 Windows AppFabric 上的 .NET 4.0 工作流 ( http://msdn.microsoft.com/en-us/windowsserver/ee695849.aspx ),SharePoint 2010 可以相当轻松地与之交互。

What kind of project is this?

If it is a WebPart or WorkFlow project then it would be running under a SharePoint 2010 instance, and that would therefore require .NET 3.5.

A partial solution I have seen is to create a .NET 4.0 WorkFlow hosted on Windows AppFabric ( http://msdn.microsoft.com/en-us/windowsserver/ee695849.aspx ) , with which SharePoint 2010 can interact with fairly easily.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文