** Note: The problem and solution discussed below applies for SharePoint 2010 public beta. Future versions may avoid the need to copy this DLL from SharePoint Server. **
One of the cool things about SharePoint Foundation 2010 (the ‘free’ version) is that it supports Business Connectivity Services – which means you can build Business Data Connectivity(BDC) models and deploy to your site.
If you have already tried building one (custom .net assembly), you will encounter the following error:
Failed to load receiver assembly “Microsoft.Office.SharePoint.ClientExtensions, Version=18.104.22.168, Culture=neutral, PublicKeyToken=71e9bce111e9429c”
The solution is very simple – If you have SharePoint Server 2010 beta installed, copy the Microsoft.Office.SharePoint.ClientExtensions.dll from C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14ISAPI to the following locations where SharePoint Foundation 2010 is installed:
2) C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14ISAPI
Now, deploying your BDC model (custom .net assembly) from visual studio should work 🙂