Поделиться через


“ImportModelReceiver” Feature Receiver in “Microsoft.Office.SharePoint.ClientExtensions” assembly

I’m wondering why on earth “ImportModelReceiver” class is defined  in “Microsoft.Office.SharePoint.ClientExtensions.dll” under “Microsoft.Office.SharePoint.ClientExtensions.Deployment” namespace.

Incase some of you are not aware Microsoft.Office.SharePoint.ClientExtensions.dll only gets installed if you installed SharePoint Server 2010

When you create BDC Model project using VS2010, VS adds this receiver to the Feature file that gets generated, down side of this is you can now only use VS2010 to create BDC Model projects if you have SharePoint Server 2010. That just seems like a big miss on our part. Would be interested in hearing comments, thoughts…

<Update>

Workaround posted on VS SharePoint tools team blog, read the comments section and there is a good explanation about this

https://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/04/02/deploy-a-bdc-model-project-to-sharepoint-foundation-2010-using-visual-studio-2010.aspx

</Update>

Technorati Tags: BCS,SharePoint 2010