Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > 1 GAT Solution but 2 different Solution Templates
 

1 GAT Solution but 2 different Solution Templates

Hi folks,

I have the following requirement:

- 1 GAT Project andI need 2 different*.vstemplate

Now the issue is the following one:

- each one of the templates need a different wizard.

e.g.
-vstemplate's gonna contain:
  • Web ApplicationSolution
    • DataAccessProject
    • BusinessProject
    • Web Application (Frontend)

  • Web Service Solution
    • DataAccessProject
    • Console Project
    • BusinessProject
    • TestProject
    • and lets say 2 - 3 more projects


The issue is now the follwoing one: how canI display different wizard's Pages?

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

Name="Swiss.Tools.SwissGuidance"

Caption="Swiss.Tools.SwissGuidance"

Description="Guidance Package for Web Applications and Service Templates"

BindingRecipe="BindingRecipe"

Guid="4f55f369-a7de-4b56-8172-9354e6d70467"

SchemaVersion="1.0">

<Recipe Name="CreateSolution">

<GatheringServiceData>

<Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">


I figured out how I'm able to manage several screens within 1 wizard but how do I manage the wizard I do not understand so far.

thanks in advance.

-
kind regards, roni [http://netrsc.blogspot.com/]
Roni Schuetz  Tuesday, December 09, 2008 3:55 PM
Hi,

I'm not sure if I followed you, when you say several screens I think that you're refering to different pages?

To specify different wizards for each template you have to create different recipes then associate each one into the vstemplate as follow:

<WizardExtension>
<Assembly>Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
<FullClassName>Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate</FullClassName>
</WizardExtension>
<WizardData>
<Template xmlns="http://schemas.microsoft.com/pag/gax-template"
SchemaVersion="1.0"
Recipe="CreateSolution"/>
</WizardData>

let me know if this is what you're trying to achieve.

jose.

Jose Escrich - weblogs.asp.net/jescrich
  • Marked As Answer byRoni Schuetz Thursday, December 18, 2008 7:50 AM
  • Proposed As Answer byJose Escrich Thursday, December 11, 2008 2:15 PM
  •  
Jose Escrich  Thursday, December 11, 2008 2:14 PM
Hi,

I'm not sure if I followed you, when you say several screens I think that you're refering to different pages?

To specify different wizards for each template you have to create different recipes then associate each one into the vstemplate as follow:

<WizardExtension>
<Assembly>Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
<FullClassName>Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate</FullClassName>
</WizardExtension>
<WizardData>
<Template xmlns="http://schemas.microsoft.com/pag/gax-template"
SchemaVersion="1.0"
Recipe="CreateSolution"/>
</WizardData>

let me know if this is what you're trying to achieve.

jose.

Jose Escrich - weblogs.asp.net/jescrich
  • Marked As Answer byRoni Schuetz Thursday, December 18, 2008 7:50 AM
  • Proposed As Answer byJose Escrich Thursday, December 11, 2008 2:15 PM
  •  
Jose Escrich  Thursday, December 11, 2008 2:14 PM

it was exacly what i have done, a kind of missunderstanding what receipts are. thanks mate


kind regards, roni [http://netrsc.blogspot.com/]
Roni Schuetz  Thursday, December 18, 2008 7:50 AM

You can use google to search for other answers

Custom Search

More Threads

• no help for asmx web service factory
• Add website As http://localhost/sitename
• Can instal GAT (and MobileClient! ;( )
• Guidance Package Manager fails to appear in visual studio 2008
• Error installing GAX
• Can't download GAT, GAX?
• Linking the Smart Client Software Factory with GuidanceAutomationExtensions
• Um, does anyone at Microsoft care or support GAT?
• declaring unrequired arguments in custom wizard
• Help with an error message