Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Creating a Recipe for updating a config file
 

Creating a Recipe for updating a config file


Hi,


I am having a requirement that I want to create a Recipe in such a way that I want to add a particular section into Web.config or update a section in the config file in my solution.
How can I achieve this ?

thanks,
ramkasarla  Tuesday, May 20, 2008 6:26 AM

Hi,

Editing web.config is something you could do with .NET APIs (and not GAX), please take a look at:

http://www.odetocode.com/Articles/418.aspx

Once you have the code written that updates web.config you can put that code into a GAX Action and call that code from a GAX recipe, but the code on how to play with web.config is not related to GAX.

HTH,

-vga.

vga  Monday, May 26, 2008 5:58 AM

Hi,

Editing web.config is something you could do with .NET APIs (and not GAX), please take a look at:

http://www.odetocode.com/Articles/418.aspx

Once you have the code written that updates web.config you can put that code into a GAX Action and call that code from a GAX recipe, but the code on how to play with web.config is not related to GAX.

HTH,

-vga.

vga  Monday, May 26, 2008 5:58 AM

You can use google to search for other answers

Custom Search

More Threads

• Files don't copy to UnitTesting Out folder ?
• Create Add DataSet recipe
• Trouble Installing Mobile Client Software Factory in Vista x64 Ultimate and Win2k3 Server Standard x64...
• The file cannot be opened with the selected editor
• Problems with installing Guidance Extensions and Software Factories.
• Strong-Naming Guidance Package problem?
• Is GAT dead?
• Where can I get December 2005 version now?
• How to remove Extra Lines using TextTemplateAction
• Guidance automation toolkit(February 2007 CTP) is unable to be installed