Where are component references (dlls) stored in ASP.NET?

I have dlls in the bin directory. I do not see where they are indicated in any solution or web.config files. So where are the links stored?

+7
source share
5 answers

The answer depends on whether your project is a website or a web application. On the website, all assemblies in the bin directory are automatically referenced. The web application has links to the projects you are looking for.

+6
source share

While working on a previously developed ASP.NET WebSite project in VS2012, I figured out how to find them (and thus add / remove / update them).

  • In the Solution Explorer, right-click the project name (the globe icon will appear next to it)
  • Click Property Pages ( NOT ). It will appear in a separate (floating) frame window.
  • Now just left-click the Links element at the top of the list to the left. It! Now you can add, delete and update any links related to your WebSite project.
+5
source share

If the project is a web application or MVC, right-click and select upload project. Then right-click and select edit. If you go through XML, you will find a collection of project links and other DLL links for MS or other assemblies.

+4
source share

If you actually reference them, they should be “saved” in the project files (* .csproj for C #, * .vbproj for Visual Basic).

+2
source share

In the case of an ASP.NET website links are stored in the web.config file.

I deleted most of the links, but one of my old websites has things like this:

<compilation debug="true"> <assemblies> <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> </assemblies> </compilation> 
+2
source share

All Articles