Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > GAT/GAX Automated build for TFS
 

GAT/GAX Automated build for TFS

Hi,

I've got a complicated question, which I'm not even sure can be answered here, let alone even answered.

At the moment, we have a Guidance Package, which isdesigned to generate code from the content of what is essentially an XML file sitting inside an relatively empty solution.

It generates several projects (WCF service), containing source code, to be compiled.

At this stage, it's usually tested, and then deployed.

What I'd like to do, is, instead of keeping this a fully manual process, is be able pass the solution and the XML file through TFS, and have it generate the projects during an automated build, and then deploy.

At the moment, I'm stuck at the first step in how to reduce anyGuidance Package to a something that can be used by TFS.

Any comments, hints, suggestions would be appreciated.

Reagrds,

Chris.

(I have not posed this to the TFS forum as yet)

midspace  Tuesday, March 18, 2008 6:16 AM
Hi Chris,

First, don't post your question to a TFS forum, they won't be able to help with this for sure Smile

You can't run GAX outside of Visual Studio, as the only available host for GAX is a Visual Studio host. That means, you can't automate the execution of recipes, and things like that without resorting to a running instance of Visual Studio.

Based on the above this means you can't have a command-line automated build using just msbuild that for example launches a recipe and produces some output (well technically you may be able to do so by resorting to do a LOT of stuff (eg. programatically launching a hidden VS instance, automating its, programatically enable a package, and play with the UI, etc, tec, etc) which isn't suitable for an automated build process and will be a really fragile solution).

Sorry,
-Victor.



vga  Wednesday, March 19, 2008 4:08 AM
Hi Chris,

First, don't post your question to a TFS forum, they won't be able to help with this for sure Smile

You can't run GAX outside of Visual Studio, as the only available host for GAX is a Visual Studio host. That means, you can't automate the execution of recipes, and things like that without resorting to a running instance of Visual Studio.

Based on the above this means you can't have a command-line automated build using just msbuild that for example launches a recipe and produces some output (well technically you may be able to do so by resorting to do a LOT of stuff (eg. programatically launching a hidden VS instance, automating its, programatically enable a package, and play with the UI, etc, tec, etc) which isn't suitable for an automated build process and will be a really fragile solution).

Sorry,
-Victor.



vga  Wednesday, March 19, 2008 4:08 AM

You can use google to search for other answers

Custom Search

More Threads

• Trusted Assembly referenace Problem
• How can i show something like a table in VB.NET 2005 form ?
• Newbie Problem
• ProjectReference
• GAX/GAT 2008 install problem
• Guidance Automation website
• Minor bug in VszWizard.FindAddItem
• Could I add repeating code with this technology in my solution in C#.net?
• Unable to install GAX/GAT
• When is the next release for GAT???