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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:54:39+00:00 2026-05-27T17:54:39+00:00

I have a C# Class Library (dll; .net 4.0). I’ll call it mytestlib. I

  • 0

I have a C# Class Library (dll; .net 4.0). I’ll call it “mytestlib”. I added a Settings.setting to it which also adds a app.config file to the project. It has a couple of application scope properties in it and also some user scope properties.

During debug I can see the “mytestlib.dll.config” file in the bin\Debug folder where I expect it to be. However, when I install the library using an MSI installer I do not find the “mytestlib.dll.config” anywhere on the system! Where does Microsoft put the app.dll.config?? I am starting to suspect it is actually embedded in the dll (I hope that is not the case).

I do know it is there somewhere because the exe application that uses this dll does successfully pull settings from the “mytestlib.dll.config” file. The problem I do not know where the file is.

btw, I am able to find the user.config.

Please help and thank you in advance!

Note: I can do this same thing with a Windows Form applcation (exe) and then install that using an MSI installer and I find the app.exe.config side by side with the .exe as I would expect. Why does the app.dll.config not work the same way?

  • 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-27T17:54:39+00:00Added an answer on May 27, 2026 at 5:54 pm

    According to the documentation there is no configuration file model for class libraries. The app/user settings defined in the libarary will actually use the app/user.config of the exe that is referecing the library. Therefore there is no app.dll.config (the settings go in the app.exe.config of the app referenceing the dll).

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

Sidebar

Related Questions

I have a managed class library (say mylib.dll) and a 3rd party managed app
I have a .net class library 2.0 with an app.config with a connectionString section.
Let's say I have written a Class Library (dll) in .Net and now I
i have created a com class library with vb.net. i have registered the dll
I have an asp.net mvc project and reference a dll to a class library.
I have a .NET class library (as a .dll file) and that library contains
I have a thirdparty .net dll being reference and used by my dll/class library
I have a class library project in .net say A which when built will
I have written a C# class library (DLL) and wondering the quickest way to
I have a class library project that references the version 4.1 Microsoft.Practices.Common dll. I

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.