![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Extending app.config with addtional config Hi, All configuration used by a .NET program goes in the app.config file. Is it possible to add configuration from another config file so that the program runs with an extended configuration? For. e.g. Myapp.exe has app.config. I also have myfile.config which follows the config file structure. I want .NET to consider app.config and add to it the configuration I give in myfile.config. What does it take to do this? Thanks, Yash |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Extending app.config with addtional config See: http://www.eggheadcafe.com/tutorials...-configur.aspx for Peter's excellent write up. "Yash" <yashgt@xxxxxx> wrote in message news:7de31b6a-0c3f-4e3c-a3c7-3221cb1a2411@xxxxxx Quote: > Hi, > > All configuration used by a .NET program goes in the app.config file. > Is it possible to add configuration from another config file so that > the program runs with an extended configuration? > > For. e.g. Myapp.exe has app.config. I also have myfile.config which > follows the config file structure. I want .NET to consider app.config > and add to it the configuration I give in myfile.config. > > What does it take to do this? > > Thanks, > Yash |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Extending app.config with addtional config In my case, the main application invokes my DLL. I would like to add my configuration from the code in my DLL, without changing the main application's config. The main app calls an initialize function in my dll. This is where I would like to ammend the configuration the program has read from app.config. On Mar 4, 6:42*pm, "sloan" <sl...@xxxxxx> wrote: Quote: > See: > > http://www.eggheadcafe.com/tutorials...c4-4d2b-b180-c... > > for Peter's excellent write up. > > "Yash" <yas...@xxxxxx> wrote in message > > news:7de31b6a-0c3f-4e3c-a3c7-3221cb1a2411@xxxxxx > > > Quote: > > Hi, Quote: > > All configuration used by a .NET program goes in the app.config file. > > Is it possible to add configuration from another config file so that > > the program runs with an extended configuration? Quote: > > For. e.g. Myapp.exe has app.config. I also have myfile.config which > > follows the config file structure. I want .NET to consider app.config > > and add to it the configuration I give in myfile.config. Quote: > > What does it take to do this? Quote: > > Thanks, > > Yash |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Extending app.config with addtional config You can look here, but that is 1.1 stuff I think: http://www.bearcanyon.com/dotnet/#AssemblySettings "Yash" <yashgt@xxxxxx> wrote in message news:6b550dab-57cf-4ff7-96d6-849b092aef84@xxxxxx In my case, the main application invokes my DLL. I would like to add my configuration from the code in my DLL, without changing the main application's config. The main app calls an initialize function in my dll. This is where I would like to ammend the configuration the program has read from app.config. On Mar 4, 6:42 pm, "sloan" <sl...@xxxxxx> wrote: Quote: > See: > > http://www.eggheadcafe.com/tutorials...c4-4d2b-b180-c... > > for Peter's excellent write up. > > "Yash" <yas...@xxxxxx> wrote in message > > news:7de31b6a-0c3f-4e3c-a3c7-3221cb1a2411@xxxxxx > > > Quote: > > Hi, Quote: > > All configuration used by a .NET program goes in the app.config file. > > Is it possible to add configuration from another config file so that > > the program runs with an extended configuration? Quote: > > For. e.g. Myapp.exe has app.config. I also have myfile.config which > > follows the config file structure. I want .NET to consider app.config > > and add to it the configuration I give in myfile.config. Quote: > > What does it take to do this? Quote: > > Thanks, > > Yash |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| config.xml | General Discussion | |||
| Powershell.exe.config | PowerShell | |||
| app.exe.config on XP but app.config on Vista x64? | Vista General | |||
| zero wireless config | Vista networking & sharing | |||