Having a version problem with the Microsoft.SharePoint.dll that I need to solve an InfoPath updating a SharePoint list tutorial.
All the posts I've seen show me how to try find and set a reference to the dll but when I do I'm not able to compile because the dll doesnt appear to be the correct version.
This is the message I get:
Warning 2 Resolved file has a bad image, no metadata, or is otherwise inaccessible. Could not load file or assembly 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. DWC RFA
I'm on Server 2012; SharePoint 2013; InfoPath 2010.