15 Nov, 2009

How to remove a reference to a DLL or COM Component Object file in VB.Net

A reference to 'XXXXX.dll' could not be added. A reference to the component 'XXXXX.dll' already exists in the project.

This occurs when you add 2 versions of the same dll into your project. Before adding a reference to a new DLL you have to remove the reference to the existing library. This is not obvious on vb.net in visual studio. There is a

Project > Add Reference
. But how do you remove the reference ?

Steps to Remove the referenced DLLs

  1. First take Solution Explorer (Ctrl + Alt + L)
    View > Solution Explorer 
    
  2. Click the Show all Files
  3. On the references tree and right click the reference and click Remove

Comments (0) Post a comment
You may also like



Email Newsletter
Email:
Popular Posts
Recent Posts
Tags
Random photo
Radha Nagar Beach Radha Nagar Beach in Havelock Island Andaman
On Facebook
Recent Comments


digitalpbk