We have a SharePoint 2007 solution with a custom Field Type. We have now upgraded to 2010 and find when deploying a ContentType with a reference to the custom field type we get the following error when activating the feature:
Enable-SPFeature : Constructor on type 'xxx' not found.
At sharepoint.ps1:131 char:18
+ Enable-SPFeature <<<< -Identity $featureName -url $url -force:$force
+ CategoryInfo : InvalidData: (Microsoft.Share...etEnableFeature:SPCmdletEnableFeature)
The FieldTypeClass is in the GAC and correct. It hasn't changed since the upgrade. I tried copying the custom fldtypes_xxx.xml to the 14 hive, but get the same error.
The SafeControl entry exists in the web.config. Any ideas why I might be getting this error?