I don't think there is a way that is built into the system, but you
could parse the .csproj file (it is XML) and get the list of files that are
used by the project. Then, you can compare it to what is in the directory,
and clean away.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"not_a_commie" <no********@gmail.comwrote in message
news:11**********************@e9g2000prf.googlegro ups.com...
Is anyone aware of an easy method to search a solution for dead source
files? I'm not talking about files that show up as little white boxes
when you check the "Show All Files" button on the toolbar. Rather, I
want to delete all source files that aren't referenced by any project.