Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Praise should be given to the Forum managers or the Tipmasters - they are what make it work - give them extra recognition!!! They are timely (prompt - unlike ACTUAL support sites) and on the ball!!!..."

Geography

Where in the world do Tek-Tips members come from?
PeteG (Programmer)
15 Jun 10 12:14
Hi, I have a C# solution with several projects (in VS2008); one that compiles to an .exe and the others to .dll's
Some of the dll's have web references added and, consequently, they each have their own app.config file automatically created. I would like to have just the one app.config file that resides in my main (exe) project but can't see how to do this. Can anybody help? I have been converting this project from VS2003 to VS2008. I did have this 'one config file' set up in 2003 but can't seem to replicate it this time round. The benefit I am looking for is for ease/maintenance. I would like to have just one place where I can, for example, edit the web service url's so that I can have a config file for UAT, for Dev, for prod etc.
jmeckley (Programmer)
15 Jun 10 12:42
the auto-creation of config files is a VS thing. you should be able to ingore the "additional" config files and put the required configurations in to the "main" app.config file.

there may be an option to display the auto-creation somewhere in VS. Asking on an offical MS forum (MSDN or something) may yield better results.

Jason Meckley
Programmer
Specialty Bakers, Inc.

FAQ855-7190: Database Connection Management
FAQ732-7259: Keeping the UI responsive

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close