I was trying to make a new custom
not based on content type, and when I tried to deploy, it gave the following error:
Error occurred in deployment step 'Activate Features': Cannot complete this action. line 0 , column 0.
Turns out you have to remove these lines, in the
ListDefinition schema file:
<Folder TargetName="Item" />
<ContentTypeRef ID="0x0120" />