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

  • Home
  • SEARCH
  • 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 7954045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:18:16+00:00 2026-06-04T03:18:16+00:00

I have a .NET 3.5 C# console app. I need to read the App.Config.

  • 0

I have a .NET 3.5 C# console app. I need to read the App.Config. When I go to set a reference to system.Configuration.dll, I saw that even though my app was compiled as version 3.5 of the Framework, that the Add Ref dialog only showed me the 2.0 version of the dll.

So I found the dll under:

C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v3.5\Profile\Client

I decided to try and set a reference directly to this 3.5 dll. After doing this, my project ended up with a 2.0 version.

What is going on? I thought that if an app was compiled against a particular version of the Framework, that all of the dlls that were part of the framework were all from the same version. It seems like I am mixing versions. I guess I am not too surprised that I can simultaneously access dlls from older versions of the framework, but if there is a newer version in the 3.5 folder, why is it not using it? or is this really the 2.0 dll placed in the 3.5 folder?

enter image description here

  • 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-04T03:18:18+00:00Added an answer on June 4, 2026 at 3:18 am

    System.Configuration.dll is from v2.0 of the Framework. The file in the location you found is still the same as the .NET 2.0 file, but it’s just there as a packaged component of the 3.5 Client Profile (with the Client Profile just being a trimmed down version of full .NET).

    Version 3.5 of .NET is just a set of extensions on version 2.0 as it runs on the 2.0 CLR, and, as such, implements 2.0, 3.0, and 3.5 versions of the DLLs from the .NET framework. The classes in System.Configuration.dll were introduced, and are still all from, version 2.0 of the framework, thus the DLL itself will always be 2.0.0.0

    For some more detail: http://en.wikipedia.org/wiki/.NET_Framework_3.5#.NET_Framework_3.5

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

Sidebar

Related Questions

I have a .exe program (console app) written in .net. I need to execute
Help me, Stackoverflow! I have a simple .NET 3.5 console app that reads some
I have a console app built on .NET 4 that uses the HttpClient library
I have following requirement, I have C#/.Net console application, which refers to 'System.Data.Sqlite.dll' 'System.Data.Sqlite.dll'
I have a console app on the server that I need to run between
I have a .NET console app that reads info from a USB stick and
I have a .net console app that launches excel. I have it working on
I have a .net app that needs to spawn a console process (a java
I have a C#.Net console app code that transfers files between linux and windows
I have a .NET console application that needs to generate some HTML files. 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.