WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
115 stars 54 forks source link

Copy Solution Components task includes full components #246

Open ericregnier opened 3 years ago

ericregnier commented 3 years ago

Context

Copy Solution Components task includes full components when form sub-component is in the source solution.

Repro steps:

  1. Create source solution containing only a entity/table form
  2. Create a target blank solution
  3. In an Azure DevOps pipeline, run with task Copy Solution Components to copy the components (i.e. form) to the target blank solution

Expected Results:

Only form from the source solution is copied to target solution

Actual Results:

The full table is added to the target solution

nikichi commented 1 year ago

I am using version 12 and still have this problem. I am merging multiple solutions to one bit solution and for some reason some entities only have one form but newly generated entities (different solution) contain all the fileds and forms and views. any idea whats going on here?

nikichi commented 1 year ago

I found the problem for my case, if you add entity in another solution then it ignores the entity from the current solution and all its subcomponents.