I have seen a few posts on this but was not able to find a resolution. I am trying to organize my package by putting recipes in a Recipes folder. In the recipes collection of the guidance package xml file I use:
<
xi:include href="Recipes/CreateSolution.xml" />
Which give me a warning:
Warning1The element 'Recipes' in namespace 'http://schemas.microsoft.com/pag/gax-core' has invalid child element 'include' in namespace 'http://www.w3.org/2001/XInclude'. List of possible elements expected: 'Recipe' in namespace 'http://schemas.microsoft.com/pag/gax-core'.
I have tried adding elements like xml="parse" or xmlns:xi=http://www.w3.org/2001/XInclude but I keep getting the warning and an error when I try to register the package.
I copied the recipe code directly out of the package and created the include xml file from it. I modeled it on the the code in the WSSF and it looks right. I comment out the xinclude and copy the code back into the file and it works so I don't think the problem lies with this tag.