Read app config file dll c#


















Adding a new footer. Nested class structure question. How to use Nuget assembly as files with visual studio community. Ms access. Undesired Name? Follow us! Get the Latest Bytes Updates. By using this site, you agree to our Privacy Policy and Terms of Use. How to read app. Thanks Nov 17 '05 Follow Post Reply 6 Ashura as long as the dll and main exe in the same folder, the dll shud be able to pick the conf up. Thanks Nov 17 '05 Ashura "Ignacio Machin.

Thanks Nov 17 '05 This discussion thread is closed Start new discussion Replies have been disabled for this discussion. Submit your solution! When answering a question please: Read the question carefully. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem.

Insults are not welcome. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question. Let's work to help developers, not make them feel stupid. Related Questions. How to rewrite web api with best practice and best performance?

C reflection example - best practice. C app. Best Practice With File attachment and Database. Internet Explorer - Best Practices with exe interaction. Best Practice for File Upload. How to write update with best practice? Undesired Name? Follow us! Get the Latest Bytes Updates. By using this site, you agree to our Privacy Policy and Terms of Use. DLL and app. M-SG Hi, We have a class library application that needs to read some application settings from it's own app. Thank you, Alan Nov 17 '05 A.

M-SG Thank you for help. Nov 17 '05 A. Nov 17 '05 This discussion thread is closed Start new discussion Replies have been disabled for this discussion. NET App. NET Framework How to use config file in classlibrary project dll. NET web. General lancet: a comprehensive, efficient, and reusable util function library of go reply views Thread by lanliddd last post: by.

General Adding a new footer reply views Thread by Kaata last post: by. General How to use Nuget assembly as files with visual studio community reply views Thread by xarzu last post: by. Result 2 posts views Thread by Waqarahmed last post: by.

Connect and share knowledge within a single location that is structured and easy to search. When I try to read the userSettings from within that library I get an empty list:. It seems you have got you have asked for. There is not appSettings section in your app. That is why AppSettings. Settings returns an empty list. It seems you are trying to load custom section CodeGenerator. If that is the case, the following code should do the work:. I finally got it working with the help of klashar.

As the information is located within the userSettings we need to query this particular section of course. This can be done by the following code:. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?



0コメント

  • 1000 / 1000