Several years ago (Visual Studio 2010 era), Visual Studio included a very popular macro system built around the VBA Macro language. Starting with VS2012, that functionality has been missing from Visual Studio leaving users to either do without or seek a 3rd party alternative. To address this shortcoming, Microsoft’s Justin Clareburt has announced the return of macros to both Visual Studio 2013 and 2013 via a new extension called Macros for Visual Studio.
This command allows cleaning up project and assembly references that have no actual usages in source code. You can apply this command on a project, solution folder, or the entire solution. Before deletion is complete, you will be able to see all references that are going to be removed and. if necessary, preserve the ones that you want to keep.