title: Visual Studio: Automated reference cleaning?
body: <p>Is there any way of finding out what assemblies that's not used in a solution and have them removed automatically? (Just like when removing unneeded using-statements.)</p>
  
  <p>Side note:</p>
  
  <p>Wouldnt it be nice if it was possible to have an algorithm/program to automatically go through all code in a large solution to try to find the optimal way of refactoring it to get a more logical/managable set of projects thats has as few references to each other and other assemblies as possible?</p>
  
  <p>Yes I know this should have been done from the beginning and maintained throughout the project. But all information to do this is available to the computer so it should be possible for it to do this for us. At least give us hints about some good alternatives. I havent researched this much but there may allready be solutions for this? Do anyone know? ReSharper cant to this I guess?</p>