I want to add a project reference in the template.
eventually I used this actionAddProjectReferenceAction in the HOL sample.
( the underlying codeis ((
VSProject)referringProject.Object).References.AddProject(referencedProject);
)
However, when I did rebuild I am getting these warning messages:
Warning1The element 'Types' 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: 'TypeAlias' in namespace 'http://schemas.microsoft.com/pag/gax-core'.C:\Documents and Settings\devuser\My Documents\Visual Studio 2005\Projects\TechEd2005HoL\HoLPackage\HoLPackage.xml1356HoLPackage
Warning2The element 'Types' 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: 'TypeAlias' in namespace 'http://schemas.microsoft.com/pag/gax-core'.C:\Documents and Settings\devuser\My Documents\Visual Studio 2005\Projects\TechEd2005HoL\HoLPackage\HoLPackage.xml2336HoLPackage
Warning3The element 'Types' 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: 'TypeAlias' in namespace 'http://schemas.microsoft.com/pag/gax-core'.C:\Documents and Settings\devuser\My Documents\Visual Studio 2005\Projects\TechEd2005HoL\HoLPackage\HoLPackage.xml36510HoLPackage