Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Unable to see my custom developed Guidance Automation Package under VisualStudio template
 

Unable to see my custom developed Guidance Automation Package under VisualStudio template

Hello,

I have successfully instaled the GAX and GAT.

I created a new project with Guidance Automation template tocreate a newguidance package from scratch.

I was able to compile and Register Guidance Package. and then by right-clicking the guidance package project and I selected the"Register Guidance Package" from the context menu. It was done successfully too.

However when I am opening a new inistance of Visual Studio I am not able to see it listed under the New Project-> Gudance packages

Am I missing anything here?

Please help

radenb  Tuesday, January 08, 2008 9:09 AM
Hi Nilesh,

Please note that not all guidance packages register VS solution templates, so it may be ok that you're not seeing a solution template when doing New Projects->Guidance Automation. Now, I'm not familiar with the tutorial you're pointing to so I can't tell you if it has or it hasn't VS solution templates.

What you can do to discard the fact the it could be an issue with your machine is to create the sample guidance package that GAT creates and register it, it should then show a new item in New Projects->Guidance Automation as that sample does register new solution template.

HTH,
-Victor.
vga  Thursday, January 10, 2008 2:13 AM

Hi, it has happened to me a couple of times. When you register your guidance package and it doesn´t appear it usually takes less time to register. Open the xml where you defined you recipes and compile your solution, by opening the xml the errors in the xml will appear as warnings, please check that the xml doesn´t have any mistakes.

Martin

Mar77incho  Wednesday, January 09, 2008 11:16 AM
Hi, which version of GAX are you using? Do you have installed both VS 2005 and 2008?

Thanks,
-Adrian
Adrian Alonso  Wednesday, January 09, 2008 12:32 PM

I am not sure which xml files are you referring to can you please elaborate on it further ?

I have downloaded the GAX tutorial source from

http://jelle.druyts.net/2006/06/29/GAS05TuningTheCProjects.aspx

and comipled it on my machine and resgitered it. It successfully compiling and registering but am not able to see it in the installed templates under New Projects--> Guidance Automation

radenb  Wednesday, January 09, 2008 12:36 PM
Are you trying to register the "blank" Guidance Package provided by GAT as is (New Project -> Guidance Packages -> Guidance Package Development -> Guidance Package and register it) or you are trying to register or customize the guidance package with the source from the site you mentioned?

I mentioned the GAX/Version questions before because you could being registering the Guidance Package in one Hive (say VS 05) and trying to create a GP in another hive (VS 08).
Adrian Alonso  Wednesday, January 09, 2008 12:48 PM
Hi Nilesh,

Please note that not all guidance packages register VS solution templates, so it may be ok that you're not seeing a solution template when doing New Projects->Guidance Automation. Now, I'm not familiar with the tutorial you're pointing to so I can't tell you if it has or it hasn't VS solution templates.

What you can do to discard the fact the it could be an issue with your machine is to create the sample guidance package that GAT creates and register it, it should then show a new item in New Projects->Guidance Automation as that sample does register new solution template.

HTH,
-Victor.
vga  Thursday, January 10, 2008 2:13 AM

Hi Nilesh,

<GuidancePackage xmlns="http://schemas.microsoft.com/pag/gax-core" xmlns:xi="http://www.w3.org/2001/XInclude"

Name="NoorGuidancePackage"

Caption="Noor Factory"

Description="Test Software Factory"

BindingRecipe="BindingRecipe"

Guid="2365b558-e0c5-4256-bff7-b313ac3e3c45"

SchemaVersion="1.0">

Make sure that you have the above attributes set appropriately. Whatever you provide in the Caption attribute will be displayed under the Guidance Packages Node, for your guidance package.

Regards,

-Noor

Noor Mohammed  Thursday, January 10, 2008 4:56 AM

My guidance package xml looks as follows still it doesn;t appearunder the Guidance Package Node

<GuidancePackage xmlns="http://schemas.microsoft.com/pag/gax-core" Name="JelleDruyts.EnterpriseLibraryGuidance"

Caption="Enterprise Library Guidance"

Description="Provides guidance around the creation of Enterprise Library Application Blocks"

Guid="74dea3d5-d5c0-40bc-b3e1-8afc6fc5dac3"

SchemaVersion="1.0">

radenb  Thursday, January 10, 2008 10:09 AM
Even though you receive a successful registration message, if you navigate to RecipeFramwork.XML you will see a missing entry.

I took the following actions to "fix" this issue with the tutorial samples from Jelle:

(Make sure you UNREGISTER the previous version before you overlay the source code with a new version from the .ZIP)


Take the following steps to use the source from the .ZIP files:

<!--[if !supportLists]--> <!--[if !supportLists]--> <!--[endif]--> <!--[if !supportLists]--> <!--[endif]--> <!--[if !supportLists]--> <!--[endif]-->
  1. delete .the gpState and InstallUtil.InstallLog files in the solution directory prior to opening the solution
  2. Open the solution and change all of the project references for the Jelle Druyts.EnterpriseLibraryGuidance project to have the “Specific Version�attribute set as false
  3. Change the “Microssoft.�references for the Jelle Druyts.EnterpriseLibraryGuidanceInstaller to have the “Specific Version�attribute set as false
  4. If you do not make this changes, you *will* be able to compile and *will* receive warnings (not errors). You *will* receive a “registration succeeded message�but you will not see the guidance package as available when you open a new project. To verify this, you can look for the entry in C:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramwork.XML (XP).
  5. You will receive errors when attempting to unregister unless you make the above changes prior to registering initially.


Regards
Tracy
Tracy.Bannon  Wednesday, January 23, 2008 9:45 PM

You can use google to search for other answers

Custom Search

More Threads

• Issue with DSL Tool
• Any way to get GAX/GAT working on Vista x64 (VS 2008 RTM)?
• Access Denied (On Windows XP SP2)
• How to add files to a solution folder?
• Successful installation - July Vista GAX GAT Software Factory
• TechEd Hands On Lab 2005 - Exercise 2 - Code Snippet Issue
• Guidance Automation Extensions and Toolkit: June 2006 Release
• xinclude warning/error
• How to Extend Tools menu or some toolbar form Guidance Package?
• Invoking Add Web Reference Dialog