ASP.NET/VS2010 Search for unused files in a project

People, is there any smart way to easily find unused files in the whole solution? My project was consolidated by a previous developer and received a size of at least 3 times. I would like to reduce the size of the project, but I cannot find a quick and easy way. Any tips?

+8
javascript image visual-studio-2010 solution
source share
4 answers

This open source project could be a good place to start. It is designed to filter unused images, but it is pretty easy to change, so it searches for unused files.

Search for unused images in VS Web projects

+3
source share

How about writing a program? Maybe a neat little project for a junior developer to write for you.

+1
source share

I think that finding unused code is the job for a static analysis tool. As @kiru pointed out, Reshareper has this functionality and is easy to use. They also offer a 1 month trial.

0
source share

The extension in the selected answer above only works in vs2012, and Code Maid works in vs2010 - vs2014:

There is a free Code Maid extension that "is a Visual Studio extension for Visual Studio, and simplify our C #, C ++, F #, VB, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript encodings" . Images also.

0
source share

All Articles