Trying to understand assembly references in Web.config

Posted on 2011-05-01
Last Modified: 2012-08-13
I've busted this question into three parts.  This is part one.  

Over the last few months, I've dragged and dropped some chart controls and some other ASP standard and data controls onto some web forms in my project.   Subsequently, some assembly references have appeared in my project Web.config file.  

- Figure 1 shows the project's current assembly references in Web.config.  
- Figure 2 shows the project's current assembly references in the manifest.  
- One more piece if interesting information: If I delete all assembly references from Web.config on the development server, I can still build the project successfully.

I've noticed that there's some overlap (System.Web.DataVisualization is referenced in both places).  Mostly, however, the references don't overlap.  

What's up with the two sets assembly references?  
How does .NET decide make the decision, "Aha, this assembly reference belongs in Web.config whereas this assembly reference belongs in the manifest."?
Question by:jdana
    LVL 5

    Accepted Solution

    References are stored in the project files, decision is based on the dll version.

    References existing in your project but not existing in your web.config depends on the project template file.

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now