为什么 Sharepoint 2010 仅限于 .Net 3.5?
我刚刚接触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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个什么样的项目?
如果它是 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.