Microsoft.NET/Framework/<versionNumber>/CONFIG directories

Discussion in 'MCTS' started by Sean Dockery, Jun 21, 2009.

  1. Sean Dockery

    Sean Dockery Guest

    The TK 70-562 book discusses how the hierarchy of configuration files can
    contribute and override settings in a web application. I would like to
    understand how the "versionNumber" for the CONFIG directory path is chosen.
    For example, there are no v3.5/CONFIG or v3.0/CONFIG directories.

    How does .NET 3.5 know to find the Machine.config and Web.config under the
    v2.0.50727\CONFIG directory? Is this hard coded within the Framework
    distribution itself? Also, does .NET also look hierarchically through
    v1.0\CONFIG and v1.1\CONFIG directories, or does it stop at the first (most
    recent Framework version) CONFIG directory that is found?

    Sean Dockery, Jun 21, 2009
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.