microsoft / microsoft/powerplatform-vscode
Command library canvas app (.msapp) filename is different for every solution export
Open
@paulbreuler is already working on this.
Since Feb 14, 2023.
- Dominant language
- TypeScript
- Stars
- 277
- Forks
- 60
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 14
Description
When exporting a solution containing a command library canvas app the app name is different on each export. This creates noisy diffs and bloats source control.
To reproduce:
- Publish all via
pac solution publish --async - Export solution with
pac solution export --name $soln --path $zipfname --async - Unpack solution `pac solution unpack --zipfile "$zipfname" --folder "$solutionfolder" --packagetype $packageType --errorlevel Warning --allowDelete true --processCanvasApps
- Repeat steps 2 and 3
Note it does not matter if Unmanaged or Both packageTypes, or if --processCanvasApps is omitted (and a later pac canvas unpack is used)

Support Request: I've logged as support request 2212170050000218 for our client scenario.
Example demo solutions containing a single app, table and command bar button attached.
Solutions.zip
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.