SparkleXrm
SparkleXrm copied to clipboard
Solution Packager with PowerApps
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.
You just need to update the Nuget package of the Core Tools to the latest version to support packing/unpacking canvas apps.
Would it make sense to bump up the version of the Core Tools that the spkl package depends on?
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.