Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > How do I Migrate Guidance Packages from VS2005 to VS2008?
 

How do I Migrate Guidance Packages from VS2005 to VS2008?

Hello,

I'm hoping that someone out there can help me with this. We're moving to VS 2008 from VS 2005, and there's a Guidance Package that we'd likt ot move over to VS 2008, both the solution itself and the registering of the package.

So far I have:

  1. Installed VS 2008 SP1 (side-by-side with VS 2005).
  2. Re-run the GAX (Feb 2008) installer to ensure that the VS 2008 GAX components are installed.
  3. Installed the GAT (Feb 2008).
  4. Installed the VS2008 GAX Hotfix for VS2008.

The Guidance Package we'd like to convert was originally developed with one of the GAX/GAT CTPs under VS2005, and upgraded to the Feb '08 release some time ago. When I open the GP source solution in VS2008 and run the conversion wizard, the solution seems to convert without incident. NOTE: The solutions and all it's Projects are still targeting the .Net 2.0 Framework. Despite the apparent successful conversion to VS 2008, I am experiencing the following problems:

  1. The context menu items in the solution exploreer that allow me to register/unregister/quick register the Guidance Package are not there.
  2. I do not know, nor can I find information on, how to update the Guidance Package Setup Project to have the output MSI target VS2008 (or give an installation option of VS2005 or VS2008).

Can anyone help me with information, or point me at resources, to resolve these two issues?

TIA
Dave

Dave803796  Tuesday, January 27, 2009 9:15 PM

Hi,

In the link:

http://msdn.microsoft.com/en-us/vsts2008/aa718949.aspx

In the title "Updating GAX", you will be able to read that you don“t need to do nothing special to migrate the guidance solution.

With regard to the problem with the register item in the context menu, have you enabled the "Guidance Package Developer" ?

The option is in the VS menu: Tools -> Guidance Package Manager.

In the form, you need to click the button "Enable / Disable Packages".

I hope that this will help

greetings


Leandro Tuttini
Leandro Tuttini  Wednesday, January 28, 2009 2:33 PM

Thanks for the info Leandro!

I actually had read the information in that link before posting. Re-enabling the Guidance Package Developer in the Guidance Package Manager was an important tidbit of information not covered in that link. It would have taken me forever to figure that out!

Do you know if I need to do anything to the Guidance Package Installer class or setup project in my gp solution so that the MSI will target VS 2008? Since this gp will remain .Net 2.0 for now, is there a way to target both VS 2005, and VS 2008. The link you reference aludes to this, but does not point to any reference material.

Thanks again!
Dave

Dave803796  Wednesday, January 28, 2009 6:40 PM
Hi Dave,

The only thing that you have to do related GAX/GAT is change your setup project if you already have one. If so, you need to add the /hive=9.0 switch to each custom action @ the setup project. You didn't have to change anything else in your package.

With GAX 2008 you can use the Vs experimental hive to test your guidance packages, in case that you want to use that you should add some switches in you manifest as I mention here:


(in case to use the Experimental hive, you must have installed the GAXP1409 path).

hth
jose.



Jose Escrich - weblogs.asp.net/jescrich
  • Proposed As Answer byJose Escrich Thursday, February 19, 2009 7:04 PM
  •  
Jose Escrich  Thursday, February 19, 2009 7:04 PM

You can use google to search for other answers

Custom Search

More Threads

• no help for asmx web service factory
• Installing GAT and GAX on Windows 2008 64bit
• Can't register guidance packages with Feb '07 GAX and GAT
• Is it possible to call an action from a Converter ?
• unistallation issue with guidence automation and Wssf december 2006 release
• Value editor to select a folder on the users file system
• GAT - Custom Wizard Pages
• Create a single file generation that use T4 template
• Argument monitoring itself?
• Declaratively determining if an action runs, or a item template unfolds