SparkleXrm icon indicating copy to clipboard operation
SparkleXrm copied to clipboard

Solution Packager with PowerApps

Open ghost opened this issue 6 years ago • 3 comments

Hi, I'm using the Solution Packager (pack + import command) with a solution that contains canvas apps. The import into the target environment fails with the following error: "The solution specified an expected assets file but that file was missing or invalid. at Microsoft.Crm.Tools.Core.ImportExportPublish.ImportCanvasAppHandlerInternal.UpdateAppFileNameMappingForKey (IImportFileSet filesToImport, XmlNode canvasAppNode, String uriKey, InsensitiveDictionary`1 fileNameMapping)". Proceeding manually instead no problem occour. Does the tool manage and is compatible with PowerApps components? Thanks.

ghost avatar Oct 23 '19 18:10 ghost

You just need to update the Nuget package of the Core Tools to the latest version to support packing/unpacking canvas apps.

scottdurow avatar Oct 23 '19 20:10 scottdurow

Would it make sense to bump up the version of the Core Tools that the spkl package depends on?

eleung83 avatar Dec 23 '19 15:12 eleung83

Hi @capuanodanilo, @scottdurow. Maybe not directly related to theis tool, but I've also run into this using the PowerApps CLI, on import, after reaching 100%. The error does not indicate which specified file is missing, or the dependency specifying it. Making a note to update you with my findings, as it may be helfpul here.

One thing to note, is that the latest version of the standalone SolutionPackager tool has a bug packing appactions. I have submitted this to MSFT. The PowerAppsCLI and DevOps build tools are unaffected by this.

ryanperrymba avatar Dec 15 '21 17:12 ryanperrymba