Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8537653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:57:07+00:00 2026-06-11T10:57:07+00:00

I wish to have multiple config files in my solution. For example, For my

  • 0

I wish to have multiple config files in my solution. For example, For my console application (Program.Main) I want to refer app.config file for any settings. While my console application internally calls a method of a class libray Dll1. Inside Dll1 I want the code to take some settings from Dll1.config. Similarly my Console application also calls a method of Dll2. Inside Dll2 I want the code to take settings from Dll2.config file.

Please help on how to achieve this. Also, is it possible or not?
I would be really helpful if you could provide with a small code sample.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:57:08+00:00Added an answer on June 11, 2026 at 10:57 am

    Yes, it is possible. Just like you can have exe.config file, its perfectly normal to have a dll.config file. Store DLL specific information in its config file. Later on you can access this configuration information from DLL by following code

    var appConfig = ConfigurationManager.OpenExeConfiguration(Assembly.GetExecutingAssembly().Location);
    string dllConfigData = appConfig.AppSettings.Settings["dllConfigData"].Value;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is i wish to do. I want to have multiple webview loading their
I have multiple 'bars' which I wish to resize and drag along a x-axis.
I'm currently working on a game and I wish to have a main menu
I have multiple NSStrings and i wish to merge them into one other, here
I'm currently implementing a custom MultiPageEditorPart where I want to have multiple pages when
I have a very long regular expression, which I wish to split into multiple
I have an XElement (myParent) containing multiple levels of children that I wish to
In our system one client may have multiple operators. However there is a wish
I've got an application which displays a field that can have multiple entries but
I have just finished developing an iPhone app and now I wish to make

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.