So, if I have website project Foo which has a reference to class library project Bar, how do I remove that reference?
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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With