473,508 Members | 2,267 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The App config file when wrking with with a multi project solution

Hi all,

When you make a solution that contains numerous projects - where should you
put the configuration file that should be used for the application?

Example:

An application called MyApp has 4 projects each contained within their own
subdirectories. Each project outputs its dll to its own bin directory.

The folder structure is:

MyApp
- MyProject 1
- MyProject 2
- MyProject 3
- MyProject 4

Where should I put the config file so that all the projects access it?

Is it even possible to have a single config file shared amongst multiple
projects? I'm sure it is - I just can't find any details on how to do it.

If anyone has any advice on this I would appreciate it very much

Thanks in advance everyone

Simon
Jul 21 '05 #1
1 1300
I do not think that one config file can be used by more then one
application. Remember, the config file has to be named the same as program
for it to load.

"Simon" <sh856531@microsofts_free_email_service.com> wrote in message
news:uK*************@TK2MSFTNGP09.phx.gbl...
Hi all,

When you make a solution that contains numerous projects - where should you put the configuration file that should be used for the application?

Example:

An application called MyApp has 4 projects each contained within their own
subdirectories. Each project outputs its dll to its own bin directory.

The folder structure is:

MyApp
- MyProject 1
- MyProject 2
- MyProject 3
- MyProject 4

Where should I put the config file so that all the projects access it?

Is it even possible to have a single config file shared amongst multiple
projects? I'm sure it is - I just can't find any details on how to do it.

If anyone has any advice on this I would appreciate it very much

Thanks in advance everyone

Simon

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1800
by: Simon | last post by:
Hi everyone, I really need help with the following: It's common in app development to create numerous projects under one solution that as a whole combine to become your final application. For...
2
1813
by: bmcelhany | last post by:
Hi all, I have a solution with 4 projects: a class library, a windows app, a windows service, and an installer project. The class library handles all communication with the database and its...
3
3145
by: baylor | last post by:
I'm having a weird bug and wondering if anyone has ever seen this before A Hello World GUI app. Create an app.config. When you build, Studio copies app.config to bin\debug\ and renames it to the...
5
2328
by: Dica | last post by:
i've followed the instructions i found here about how to add a config file to my applicaiton: http://www.c-sharpcorner.com/Code/2003/Nov/CreateUseConfigFiles.asp the instructions state that i...
5
3375
by: feng | last post by:
Hi, We just converted our VB.Net Windows exe project from VS.Net 2002 to VS.Net 2003 and ran into a problem. the MyApp.exe.config file that we use for our customized configuration settings is...
1
291
by: Simon | last post by:
Hi all, When you make a solution that contains numerous projects - where should you put the configuration file that should be used for the application? Example: An application called MyApp...
10
6182
by: RedLars | last post by:
Hi, Have a question about an AppSetting's file in VS2005. Under Assembly \ Properties I got a Settings.settings which contains a table of name, type, value etc. I also got a App.Config file in...
12
13406
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
0
7120
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7380
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1553
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.