We use the Solution Packager to extract and repack our solutions so we can keep them under version control. This has been working well for months, but now that we have added a Flow to one of our solutions, the Solution Packager is crashing (error at end of post) while extracting the solution. This is happening with the latest version of the packager (9.0.3.1765) from the Microsoft.CrmSdk.CoreTools nuGet package (9.0.2.12).
Flow workflows are contained in the solution as JSON files, while CRM workflows are XAML. From the error raised it looks as if the packager doesn't support workflows as anything other than XAML files.
Does the Solution Packager not support the full range of solution contents, and if so, how should we go about extracting, versioning, and deploying Flows which relate to a solution?
-----
Cannot find child element XamlFileName of element Workflow.
SolutionPackager: Exception thrown: System.ArgumentException: Cannot find child element XamlFileName of element Workflow.
at Microsoft.Crm.Tools.SolutionPackager.Helper.GetElementValue[T](XElement element, String childName, Boolean throwIfNull, Func`2 converter, T default)
at Microsoft.Crm.Tools.SolutionPackager.Helper.GetElementValue(XElement element, String childName, Boolean throwIfNull, String default)
at Microsoft.Crm.Tools.SolutionPackager.WorkflowProcessor.CreateComponent(XElement element)
at Microsoft.Crm.Tools.SolutionPackager.ComponentProcessorBase.CreateComponents(XElement element)
at Microsoft.Crm.Tools.SolutionPackager.ZipReader.LoadCustomizations(Stream customizationXml, Context context)
at Microsoft.Crm.Tools.SolutionPackager.ZipReader.Load()
at Microsoft.Crm.Tools.SolutionPackager.SolutionPackager.Run(IPackageReader reader, IPackageWriter writer)
at Microsoft.Crm.Tools.SolutionPackager.SolutionPackager.Run()
at Microsoft.Crm.Tools.SolutionPackager.Program.Main(String[] args), returning error code '1'
*This post is locked for comments