I'm on a team that's currently building a MOSS 2007 based application (which relies on .NET 2), and we'd like to leverage the Entity Framework v4 (which relies on .NET 4).
Is this possible?
I'm on a team that's currently building a MOSS 2007 based application (which relies on .NET 2), and we'd like to leverage the Entity Framework v4 (which relies on .NET 4).
Is this possible?
Although I haven't tried, my guess is that it's not possible. In order to use .net 4.0 assemblies, the apppool running your moss site would have to be upgraded to the 4.0 version of asp.net. After that, version of system.web and other assemblies will change and I think that moss will simply stop working. But hey, it's just my guess. You can always try it out.
The 4.0 version of .Net has a new CLR etc.
Even SP2010 does not support .net 4.0 (yet).
I don't know why people are saying here that it is impossible. If you install .net framework 4.0 on your SharePoint server you will be able to acces the runtime of .net 4.0 to use it in your own code. Of course, the SharePoint code itself will still be running under 2.0, but 4.0 is just an extension of 2.0.
At this moment it's possible to use 3.5 code on your SharePoint 2007 server to use AJAX, so I don't see why 4.0 should be a problem.