Search code examples
microsoft-dynamicsdynamics-crm-2013dynamics-365dynamics-crm-365dynamics-365-sales

PAC CLI Unpack and Pack managed solution


I am trying to pack the managed solution using PAC CLI for our automated pipeline. I am seeing some peculiar behavior

when we use unpack command it unpacks all the components

pac solution unpack -z solution.zip -f CustomCode -p managed -loc -lcid

This is the folder after extract Extracted file view

but when we pack the same soultion again the organization setting folder will be removed

pac solution pack -z solution.zip -f CustomCode -p managed -loc -lcid

after packing the solution


Solution

  • This issue is fixed in the latest PAC Cli update.