Quick (annoying) thing. Whilst deploying a solution, you may see this error:
Error occurred in deployment step ‘Activate Features’: Key cannot be null. Parameter name: Key
This is unhelpfully connected to your Content Type definitions where you have FieldRefs and you’re closing them with the long tag, as opposed to the short tag, i.e.,
<FieldRef ID=”…”></FieldRef>
replace it with this to fix:
<FieldRef ID=”…” />
Thanks to Dhiraj.
Related Posts
Tags: deployment, feature, key, parameter cannot be null, SharePoint, tip



for
[...] var addthis_product = 'wpp-262'; var addthis_config = {"data_track_clickback":true};A while ago, I posted about a problem deploying declarative XML content types and fields. Error occurred in deployment step [...]
Help me a lot!!!
Thanks
Great !