Remove unused references
Right-click on project to get context menu option "Remove unused references"
10 comments
-
Serega
commented
Take a look at Reference Assistant VS2010 extension by Lardite group. It is completely free but it still works very well!
http://visualstudiogallery.msdn.microsoft.com/fc504cc6-5808-4da8-ae86-8d3f9ed81606
-
Serega
commented
Take a look at Reference Assistant VS2010 extension by Lardite group. It is completely free but it still works very well!
http://visualstudiogallery.msdn.microsoft.com/fc504cc6-5808-4da8-ae86-8d3f9ed81606
-
Muse Extensions
commented
I wrote an extension that has "Remove unused references" feature
http://visualstudiogallery.msdn.microsoft.com/36a6eb45-a7b1-47c3-9e85-09f0aef6e879 -
Adminkzu (Admin, worldofvs) commented
Rami: References != Usings
-
Rami
commented
There is already an extension that does this:
http://visualstudiogallery.msdn.microsoft.com/en-us/cb559aa8-d976-4cc2-9754-5a712f985d16 -
Attila Hajdrik
commented
Think about a solution with 121 projects (it is real :-)) I'd like to have it at a solution level too. For the project scope, having this functionality in the context menu of References makes sense, but I'd like to have it at solution level too. Pinned references is also a good idea!
-
joj
commented
I think if this gets implemented, "pin reference" will be needed. There's reflection, configuration files, dependency injection and others that may need the reference but not actually use it.
-
Timothy Dalby
commented
Something to think about... Using reflection could be a potential issue with this. I've dealt with and built many apps that use reflection to dynamically build objects (such as from a config file) for things like data access and pipeline chaining. I would imagine that a remove unsed reference feature would be a bit proliferous in the cased of reflection, unless necessary libraries were only added manually after deploy... Thoughts?
-
Calin Berindea
commented
I agree with Victor, right-click on "References" node than "Remove unused references" would be more appropriate. Very useful tweak.
-
Why not right-click on "References" node instead? :)
I'm thinking of a few ways of implementing it and it doesn't look hard, let's hope it gets enough votes/interest so we can give it a try!
