Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I remove a project reference from a website project in Visual Studio?

So, if I have website project Foo which has a reference to class library project Bar, how do I remove that reference?

like image 315
David Avatar asked Jul 21 '10 14:07

David


People also ask

How do I remove a reference from a website?

In Solution Explorer, right-click the Web reference and then click Delete. All the reference information is removed from the project and from local storage.

How do I change the project reference in Visual Studio?

Restart Visual Studio and open your app. Right-click on the References or Dependencies node in the project that caused the error and choose Add Reference.

How do I resolve references in Visual Studio?

To fix a broken project reference by correcting the reference path. In Solution Explorer, right-click your project node, and then select Properties. The Project Designer appears. If you're using Visual Basic, select the References page, and then click the Reference Paths button.

How do I remove a reference library in Vscode?

On the Propertis dialog, select the Java Build Path from the list of properties. On the Java Build Path part of the dialog, select the Libraries tab. Find the entry in the list of libraries called Shared Library [<library-name>], and then select it. Click Remove.


1 Answers

The reference is stored in the Visual Studio solution file.

Right-click on the web site's project item in Solution Explorer and choose "Property Pages". The first item on the dialog that comes up is "References". You can add/remove references from here.

Edit:

I should mention that this is in Visual Studio 2010. I don't have any other versions installed at the moment, so I can't verify that this works for them as well.

like image 174
Matt Peterson Avatar answered Oct 13 '22 18:10

Matt Peterson