473,387 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 1294
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
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
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
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
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
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
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
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
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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
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...

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.