After we imported a solution from our developer to a Dev-System, where the PCF worked perfectly we wanted to exprot a Solution with the PCF and import it into a Quality-System.
Where the Error-Message:
"Cannot add a Root Component PCF.Scan of type 66 because it is not in the target system." has occured.
To fix this Problem we imported the original solution of our developer and not imported the exported one form the CRM. It seems that the CRM-Solution-Export is not exporting all of the needed components. Maybe this is bug here.
The error also occurs, when the PCF is alread in the target system and you want to add the form, where the PCF is implemented.