Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET / VS2010 Finding unused files in project

Folks, is there any smart way to easily find unused files in entire solution? My project was consolidated by previous developer and it gained size at least 3x. I'd like to shrink the size of project but I cannot find quick and easy way. Any advices?

like image 390
Adrian K. Avatar asked Apr 16 '12 14:04

Adrian K.


2 Answers

This open source project might be a good place to start. It's meant to filter out unused images, but it should be pretty easy to change so it looks for unused files.

Find unused images in VS Web Projects

like image 100
James Johnson Avatar answered Oct 02 '22 14:10

James Johnson


How about writing a program to do it? Could be a neat little project for a junior dev to write for you.

like image 22
Ste Avatar answered Oct 02 '22 15:10

Ste