Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

SolutionPackager not handling Portable Business Logic

$
0
0

CRM Online 2013, using SDK 6.02 (17/12/2013)

Have added a couple of Portable Business logic Business rules to a form.

When I export the solution and unpack using SolutionPackager, there are .xaml and .xaml.data.xml files for each of the rules in the Workflows folder of the unpacked solution, confirming that they are present.

However when I repack, Solution Packager throws a "Missing root component" error for each of the workflows:

Following objects, required by the solution, are not present.

Type='Workflow', Id (or schema name)='{a1bc418e-8f95-e311-b18a-d89d6763ff78}'.
Type='Workflow', Id (or schema name)='{043b4374-8e95-e311-b18a-d89d6763ff78}'.
Please do a dependency check on your solution prior to exporting, add the missing objects to your solution and re-export
Error occurred during execution of plugin 'RootComponentValidation': RootComponent validation failed.

On inspection of the unpacked other\solution.xml, there are no Root Component declarations for the two workflows.

If I manually add the relevant lines to solution.xml:

 <RootComponent type="29" id="{a1bc418e-8f95-e311-b18a-d89d6763ff78}" />
 <RootComponent type="29" id="{043b4374-8e95-e311-b18a-d89d6763ff78}" />

then the repack works perfectly.

So why is solutionpackager not correctly extracting the solution.xml file?


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>