Can anyone think of a way (perhaps using a PowerShell script or similar) where I can look for *.cs files that are on disk in the folder structure, but aren’t included in a project file?
This has come about gradually over time with merging in Subversion etc. I’m looking for a way to clean up after myself, basically. 🙂
All your .cs files will be mentioned in the project file, right? Scrape the XML, list the files and then do a search on the whole system. Works, but is inefficient.