Replies: 2 comments 8 replies
-
@moizhraj In order to enable solutions to be packed as managed you need to have the managed unpacked files available. If you don't have these then you will not be able to pack as managed/both. My suggestion would be to ensure that when you export and unpack your solution from your development environment, you do this for both a managed and unmanaged solution. This will enable you to repack both types as part of a build process |
Beta Was this translation helpful? Give feedback.
-
has there been any movement on this. This requirement - of course - is easy to get around by exporting and unpacking both to source control. however, am facing a situation where only unmanaged zips exist in a repo and now have to go through the whole process of importing them and then exporting them.. simply to get managed versions - rather than being able to set a flag with pac cli... which would make a wonderful feature.. being able to unpack and unmanaged zip and deploy it as either managed or unmanaged from pac cli - surely the pac cli team could work with the solutions team to understand what needs to change within the structure of the source to deploy as managed. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a extracted dump from a dev environment for version control in ADO. I am using Power Platform Build tools for Azure DevOps to pack this dump to a managed solution. Since the extracted dump is an unmanaged one, when i try to specify SolutionType as "Both" or even "Managed" in the PP Pack Solution task, it fails with an error as "Solution package type did not match requested type." A workaround is that I pack this solution as unmanaged which works, then import it to a staging env, and then import it back as a managed solution to be deployed to PPE or Prod. Appreciate any help if there is a better way to do it.
Beta Was this translation helpful? Give feedback.
All reactions