Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Set version for Guidance Package
 

Set version for Guidance Package

I've created my first guidance package, but every time I enable it, it appears with the same version number (1.0). How can that be changed?

Thanks a lot in advance

Javier Carvajal  Friday, October 06, 2006 8:27 PM

Hi Javier,

Enabling or rebuilding a package doesn't automatically increase its version number. In order to chage the version number that appears on the Guidace Package Manager when listing installed packages you will need to use the Version attribute of the <GuidancePackage> element in your package's manifest file, i.e:

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

Name="YourPackageName"

Caption="YourPackageCaption"

BindingRecipe="BindingRecipe"

Description="YourPackageDescription"

Guid="c299bf43-9f62-4d0e-b5df-72feb3c0bf53"

Version="2.0"

And after modifying the Version attribute above you will need to do a full registration of your package (by running 'Register Package' recipe in GAT).

The important thing to note here is that GAX currently DOES NOT support versioning of packages, side-by-side running, etc.

HTH,
-Victor.

vga  Saturday, October 07, 2006 2:49 AM

Worked like a charm...

Thanks a lot, Victor

Javier Carvajal  Monday, October 09, 2006 2:03 PM

Hi Javier,

Enabling or rebuilding a package doesn't automatically increase its version number. In order to chage the version number that appears on the Guidace Package Manager when listing installed packages you will need to use the Version attribute of the <GuidancePackage> element in your package's manifest file, i.e:

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

Name="YourPackageName"

Caption="YourPackageCaption"

BindingRecipe="BindingRecipe"

Description="YourPackageDescription"

Guid="c299bf43-9f62-4d0e-b5df-72feb3c0bf53"

Version="2.0"

And after modifying the Version attribute above you will need to do a full registration of your package (by running 'Register Package' recipe in GAT).

The important thing to note here is that GAX currently DOES NOT support versioning of packages, side-by-side running, etc.

HTH,
-Victor.

vga  Saturday, October 07, 2006 2:49 AM

Worked like a charm...

Thanks a lot, Victor

Javier Carvajal  Monday, October 09, 2006 2:03 PM
Glad it worked!
vga  Monday, October 09, 2006 2:32 PM

You can use google to search for other answers

Custom Search

More Threads

• Passing a XmlSerializer Class To T4 template
• Web application Project Template
• Throwing error when data set has large amount of data binding with crystal report
• Examining the items in a solution
• Substitue for Windows Service in Web Application
• Converting IDTWizard to GAT project and solution templates.
• Guidance Package Manager doesn't work in VS2008SP1
• Guidance automation toolkit(February 2007 CTP) is unable to be installed
• Enabling Guidance Automation with Visual Studio 2005
• Call a recipe