?
Solved

.NET Assemblies found in Web.config

Posted on 2011-05-01
2
Medium Priority
?
307 Views
Last Modified: 2012-05-11
I've busted this question into three parts.  This is part two.  

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.

Is it valid to simply delete the assembly references in Web.config?  Or, is there a reason to keep them there?
Web.config-Assembly-References.png
Manifest-Assembly-References.png
0
Comment
Question by:jdana
2 Comments
 
LVL 5

Accepted Solution

by:
dexion432 earned 1000 total points
ID: 35503240
Deleting references from web.config can cause build errors if the code uses specially the web.config version of a referenced dll and/or the referenced assembly does not come from gac.
0
 

Author Closing Comment

by:jdana
ID: 35754440
Thanks!
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Is your organization moving toward a cloud and mobile-first environment? In this transition, your IT department will encounter many challenges, such as navigating how to: Deploy new applications and services to a growing team Accommodate employee…
Suggested Courses

621 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