Tuesday, October 11, 2011

You Cannot Use SharePoint Foundation 2010 Objects with .NET 4

The SharePoint Foundation 2010 object model is not accessible using the .NET Framework 4 (or later).  Calling any object or method in the object model using any framework version other than .NET 3.5 will throw the following exception: 

System.PlatformNotSupportedException
Microsoft SharePoint is not supported with version 4.0.30319.1 of the Microsoft .Net Runtime.


Of course, you can always access the SharePoint objects using the web services interface from your .NET 4 application, but this will only allow limited functionality of the complete object model.

2 comments:

  1. windows 7 ultimate sp1 keys , windows 10 product key hash generator , office mac stores.com review , product key for norton antivirus 2012 1pc , windows 10 serial key enterprise , windows 10 serial key install , window 7 professional upgrade key free , office project 2013 keys , sB1Bj0

    windows 10 pro key

    office 2013 pro key sale

    cheap visual studio key buy

    ReplyDelete

Posting is provided "AS IS" with no warranties, and confers no rights.