Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to run pac solution pack with -pca twice to include canvas app changes #412

Open
andersgMSFT opened this issue Jan 13, 2023 · 1 comment

Comments

@andersgMSFT
Copy link

When using pac solution pack with the processCanvasApp flag, it looks like changes to the canvas app source code are not included in the zipped solution unless you run the pac command twice.

I also noticed a difference in file size for the zip files, where the first run results in a smaller file than the following.

See below for examples of how I run the command and the resulting zip files:

PS C:\depot\powerAppsTest> pac solution pack -pca -z temp/zippedSolution.zip -f .\PowerPlatform\BcSampleAppsSolution\

Packing Solution...

Packing C:\depot\powerAppsTest\PowerPlatform\BcSampleAppsSolution to C:\depot\powerAppsTest\temp\zippedSolution.zip

Processing Component: Entities
Processing Component: Roles
Processing Component: Workflows
Processing Component: FieldSecurityProfiles
Processing Component: Templates
Processing Component: EntityMaps
Processing Component: EntityRelationships
Processing Component: OrganizationSettings
Processing Component: optionsets
Processing Component: CustomControls
Processing Component: EntityDataProviders
Processing Component: CanvasApps
 - new_bcwarehousehelper_290e3

-- packing Canvas app new_bcwarehousehelper_290e3...
Pack from C:\depot\powerAppsTest\PowerPlatform\BcSampleAppsSolution\CanvasApps\src\new_bcwarehousehelper_290e3 --> C:\depot\powerAppsTest\PowerPlatform\BcSampleAppsSolution\CanvasApps\new_bcwarehousehelper_290e3_DocumentUri.msapp
  source format version: 0.24

Unmanaged Pack complete.


Packed Solution.
PS C:\depot\powerAppsTest> pac solution pack -pca -z temp/zippedSolution2.zip -f .\PowerPlatform\BcSampleAppsSolution\

Packing Solution...

Packing C:\depot\powerAppsTest\PowerPlatform\BcSampleAppsSolution to C:\depot\powerAppsTest\temp\zippedSolution2.zip

Processing Component: Entities
Processing Component: Roles
Processing Component: Workflows
Processing Component: FieldSecurityProfiles
Processing Component: Templates
Processing Component: EntityMaps
Processing Component: EntityRelationships
Processing Component: OrganizationSettings
Processing Component: optionsets
Processing Component: CustomControls
Processing Component: EntityDataProviders
Processing Component: CanvasApps
 - new_bcwarehousehelper_290e3

-- packing Canvas app new_bcwarehousehelper_290e3...
Pack from C:\depot\powerAppsTest\PowerPlatform\BcSampleAppsSolution\CanvasApps\src\new_bcwarehousehelper_290e3 --> C:\depot\powerAppsTest\PowerPlatform\BcSampleAppsSolution\CanvasApps\new_bcwarehousehelper_290e3_DocumentUri.msapp
  source format version: 0.24

Unmanaged Pack complete.


Packed Solution.

image

@filcole
Copy link

filcole commented Jan 26, 2023

Maybe related to #334

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants