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 6216979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T07:20:41+00:00 2026-05-24T07:20:41+00:00

I made my custom configuration classes to parse data from my config section. My

  • 0

I made my custom configuration classes to parse data from my config section.
My project is class library which means it creates dll. I found this way to retrieve my config section:

return (ReportServerConfigurationSection)ConfigurationManager.GetSection(sectionGroup + "/" + sectionName);

But this only works for .exe applications.
I waned to test my dll with specific config in some integration test but I cannot manage to read from correct config.

How to read from app.dll.config file?

  • 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-05-24T07:20:42+00:00Added an answer on May 24, 2026 at 7:20 am

    You can use ConfigurationManager’s OpenExeConfiguration(string) method:

    http://msdn.microsoft.com/en-us/library/ms224437.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Setup Project which uses a System.Configuration.Install.Installer Class forhandling some custom actions.
Using Drupal on a project which I made custom node types in using the
I made a custom task in my TFS build to examine my project's GlobalAssemblyInfo.cs
I made a custom master page. I also made a custom CSS file, which
I made a custom handler that derives from MvcHandler. I have my routes using
I've made a .net 2.0 library project, that results in a dll. I've made
I've made a custom control that inherits from a Literal control. When I try
I had made custom example by taking reference from here Example is working fine
Is there an easy method of accessing custom System.Configuration-based configuration data through a thread-safe
I have UIPageControl which I have made custom its dot color is not changing

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.