Share via


How to Delete a Reference

Question

Wednesday, May 2, 2007 9:45 AM

Hi All I add one Reference in my Bin folder Name Interop.ADODB.dll Now i dont wante the Reference so i delete the Reference in My Bin Folder But The Reference is add on my bin folder while i run the project How can i delete the the dll

All replies (2)

Wednesday, May 2, 2007 2:53 PM âś…Answered

in your solution explorer, right-click on the dll and choose "exclude from project". 

or

in your web.config file, look for the <assemblies> area.  you can remove your references in there

<assemblies>...
        <add assembly="Interop.ADODB.dll, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
...</assemblies>


Tuesday, April 28, 2009 4:30 PM

May be is still usefull for anybody.

I had the same problem and I solved it opening the solution file (.sln) with notepad and deleting the ProjectReferences  I did not need.

Be carefull only with notepad.