Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > how to specify another project within a same solution included as namespace & its objects name used as parameters
 

how to specify another project within a same solution included as namespace & its objects name used as parameters

how to specify another project within a same solution included as namespace & its objects name used as parameters

thanks

vsv

vsv02  Tuesday, August 21, 2007 10:12 PM
specify where...?

do you want to unfold a specific project(s) structure(s) when the user does File->New Project->Guidance Packages->Your Guidance Package?

If so, you should take a look at VS Templates documentation (from VS documentation) as that it what GAX uses to unfold your initial solution/project/item structure.

thanks,
-Victor.
vga  Tuesday, August 21, 2007 10:51 PM
specify where...?

do you want to unfold a specific project(s) structure(s) when the user does File->New Project->Guidance Packages->Your Guidance Package?

If so, you should take a look at VS Templates documentation (from VS documentation) as that it what GAX uses to unfold your initial solution/project/item structure.

thanks,
-Victor.
vga  Tuesday, August 21, 2007 10:51 PM
yes, but the documentation is very minimal with no examples or samples beyond HOL

vsv02  Wednesday, August 22, 2007 4:52 PM

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

vsv02  Wednesday, August 22, 2007 4:59 PM

After closing VS & rebuilding now gives only these errors:

Warning1.NET Framework launch condition '.NET Framework' has AllowLaterVersions property set to 'true' and the project contains a managed custom action.C:\Documents and Settings\devuser\My Documents\Visual Studio 2005\Projects\TechEd2005HoL\HoLPackageSetup\HoLPackageSetup.vdprojHoLPackageSetup
Warning2Windows Installer is not included in any selected prerequisiteC:\Documents and Settings\devuser\My Documents\Visual Studio 2005\Projects\TechEd2005HoL\HoLPackageSetup\HoLPackageSetup.vdprojHoLPackageSetup

thanks

vsv

vsv02  Wednesday, August 22, 2007 5:07 PM

You can use google to search for other answers

Custom Search

More Threads

• The procedure entry point EncodePointer could not be located in the dynamic link library kernel32.dll
• GPState Blob Format
• t4 help
• Combining GAT and CAB
• No assemblies placed in GAC
• Binding error (?) using Smart Client Software Factory
• Installing Guidance package for both VS2005 and VS2008
• Any tutorial for GAT?
• Exception: Unabe to et installer types in the C:\Program Files....\MetaGuidancePackageInstaller.dll assembly
• How to remove GAX/GAT July 2007 CTP from your system