views:

27

answers:

2

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

Thanks

David

+3  A: 

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.

Matt Peterson
That's the badger.
David
A: 

In Solution Explorer, Right-click on the project. In this view, go to References, and remove the offending reference.

MCain