Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Register more then one Solution template
 

Register more then one Solution template

Hi there,

I am interesting in following :

I would like to have after registration of the Guidance Package to have possibility of choosing different solution items. And i added two vs templates -ServicesGuidancePackage.vstemplate and ServicesGuidancePackage2.vstemplate (This is Web Service Software Factory GP). And it works fine. Both of these are using same recipes (which are defined Service Factory Guidance Package.xml and assigned in Binding.xml ). Now I would like to have second scenario :
When i select one template i would like to have one group of recipes (recipes that would be assigned with package and active) and on selecting another one to have other recipes.
I don't know how to define relationship between vs template and recipe list ? Is there some possibility to define another Binding.xml and to assign it explicitly from second template or something like that ?

Can you help me please, i am hooping that i was clear with explanation

Regards,
Rastko
cucciolo  Monday, August 11, 2008 2:37 PM
Hi cucciolo,
the easiest way is create two separated guidance packages. If you want to have only one, you will have to create or modified the existent references and create your own mechanism to identify each solution then return true/false depending if the recipe applies to that solution or not.

If you've been following the Service Factory project, in its version 2, it has a mechanism to enable or disable recipe on each project based on the kind of each one, maybe it could be useful to achieve what you want.

hth jose.

Jose Escrich - weblogs.asp.net/jescrich
  • Marked As Answer bycucciolo Friday, October 31, 2008 2:15 PM
  • Proposed As Answer byJose Escrich Thursday, October 02, 2008 12:38 PM
  • Marked As Answer bycucciolo Friday, October 31, 2008 2:15 PM
  •  
Jose Escrich  Thursday, October 02, 2008 12:34 PM
Hi cucciolo,
the easiest way is create two separated guidance packages. If you want to have only one, you will have to create or modified the existent references and create your own mechanism to identify each solution then return true/false depending if the recipe applies to that solution or not.

If you've been following the Service Factory project, in its version 2, it has a mechanism to enable or disable recipe on each project based on the kind of each one, maybe it could be useful to achieve what you want.

hth jose.

Jose Escrich - weblogs.asp.net/jescrich
  • Marked As Answer bycucciolo Friday, October 31, 2008 2:15 PM
  • Proposed As Answer byJose Escrich Thursday, October 02, 2008 12:38 PM
  • Marked As Answer bycucciolo Friday, October 31, 2008 2:15 PM
  •  
Jose Escrich  Thursday, October 02, 2008 12:34 PM
Thank you,

i found out that the best solution for me are two separated Guidance Packages (projects), and i made it so.


Regards
cucciolo  Friday, October 31, 2008 2:10 PM

You can use google to search for other answers

Custom Search

More Threads

• Package version
• Can't register packages
• Substitue for Windows Service in Web Application
• Error 1001 The project factory CSharp is not registered
• Application Block Software Factory templates don't appear in VS 2008
• Access Denied Error
• What's the best way to programatically call an action from within another action?
• Setup created using 1.3 doesent install on GAX 1.4
• Toolkit for GAX/GAT released!!
• Access is Denied Error when installing Guidance Automation Packages / Guidance Automation Toolkit