Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > warnings when I try to create guidance package
 

warnings when I try to create guidance package

I get errors and warnings of this kind when I tried to create a Guidance package using the GAT SDK.

Message17Could not find schema information for the attribute 'ReferenceType'.C:\Documents and Settings\sanjukta_dan\My Documents\Visual Studio 2005\Projects\MyGuidancePackage\MyGuidancePackage\MyGuidancePackage.xml277MyGuidancePackage

Warning5The element 'Recipe' 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: 'DocumentationLinks, Types, Caption' in namespace 'http://schemas.microsoft.com/pag/gax-core'.C:\Documents and Settings\sanjukta_dan\My Documents\Visual Studio 2005\Projects\MyGuidancePackage\MyGuidancePackage\MyGuidancePackage.xml1295MyGuidancePackage

Warning2The key sequence 'CurrentProject' in Keyref fails to refer to some key.C:\Documents and Settings\sanjukta_dan\My Documents\Visual Studio 2005\Projects\MyGuidancePackage\MyGuidancePackage\MyGuidancePackage.xml415MyGuidancePackage

Can anyone help me understand how to resolve them??

Sanjukta  Wednesday, October 11, 2006 10:52 AM

Are you being able to actually register and use your guidance package. The above warnings (not errors) may appear if you're using xinclude to split your guidance package manifest file into multiple files. As VS support for xinclude is not there yet, you may getting such warnings.

HTH,
-Victor.

vga  Monday, November 13, 2006 2:23 PM

Hi Sanjukta,

Most probably you're entering XML that is not conformant to the GAX schema... can you post your xml manifest here? (this should help the guessing game).

thanks,
-Victor.

vga  Wednesday, October 11, 2006 11:17 PM

Hi,

These are the bits of code from MyGuidancePackage.xml. All the similar code pieces are giving errors.

<Action Name="AddMainClass" Type="InfyIS.EAA.Actions.AddItemFromStringAction, InfyIS.EAA"

Open="true">

<Input Name="Content" ActionOutput="GenerateMainClass.Content" />

<Input Name="TargetFileName" RecipeArgument="TargetFile" />

<Input Name="Project" RecipeArgument="CurrentProject" />

</Action>

Warning2The key sequence 'CurrentProject' in Keyref fails to refer to some key.C:\Documents and Settings\sanjukta_dan\My Documents\Visual Studio 2005\Projects\MyGuidancePackage\MyGuidancePackage\MyGuidancePackage.xml415MyGuidancePackage

<Recipe Name="NewItemClass" Recurrent="true">

<xi:include href="TypeAlias.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

<Caption>Collects information from the user</Caption>

....

......

Warning4The element 'Recipe' 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: 'DocumentationLinks, Types, Caption' in namespace 'http://schemas.microsoft.com/pag/gax-core'.C:\Documents and Settings\sanjukta_dan\My Documents\Visual Studio 2005\Projects\MyGuidancePackage\MyGuidancePackage\MyGuidancePackage.xml675MyGuidancePackage

<Actions>

<Action Name="UnboundT4Template" Type="RefCreator" AssetName="GenerateRepeatingClassT4"

ReferenceType="Microsoft.Practices.RecipeFramework.Library.AssetReferences.UnboundReferences.CSharpProjectRecipeReference, Microsoft.Practices.RecipeFramework.Library" />

....

.....

Message6Could not find schema information for the attribute 'AssetName'.C:\Documents and Settings\sanjukta_dan\My Documents\Visual Studio 2005\Projects\MyGuidancePackage\MyGuidancePackage\MyGuidancePackage.xml1656MyGuidancePackage

All the similar objects are giving the same error... And this code was generated by the IDE.

Sanjukta  Thursday, October 12, 2006 4:32 AM

Are you being able to actually register and use your guidance package. The above warnings (not errors) may appear if you're using xinclude to split your guidance package manifest file into multiple files. As VS support for xinclude is not there yet, you may getting such warnings.

HTH,
-Victor.

vga  Monday, November 13, 2006 2:23 PM

You can use google to search for other answers

Custom Search

More Threads

• T4 and DotNet 3.5
• Wizard data not replacing arguments correctly?
• What makes guidance package show up in "New Project" dialog box?
• Examining the items in a solution
• VS2008 Standard vs Professional
• Bullet points for building a guidance automation package from scratch.
• Cannot install DataAccessGuidancePackageSetup.msi
• Add View context menu not displayed for some projects
• Web Client Software Factory: I cannot create a module with name Menu
• Can not install on VS 2008