Sometimes we just add references and never use them or use them and then remove it all again. And sometimes it is hard to say which reference we don’t use anymore. Well MS has provided us with a button that looks up the unused references and if it finds one, you can remove the unused references.
So how do we do it?
First we right click on our project and select properties.
Then we go to the tab references and click on the button Unused References.
This will open a dialog with either a list of unused references (see below) or nothing in it.
And now you can just click remove and the references will be gone.