Only show excluded files in VS2010

Is there a way (plugins / extensions do a great job) to show ONLY elements that are excluded from the project / solution?

I have a project in which I just did some important refactoring and some files and folders are no longer needed. Now I want to remove them from the control source (Mercurial, VisualHG plugin installed in VS2010). This is a fairly large solution, so I would prefer not to manually deploy it through Solution Explorer to find them.

Or, if someone has a different process for this, of course, I am also open to this.

+7
source share
1 answer

There is currently no existing addon. Since project files are XML (see below), theoretically you can write an application to analyze it, and then compare it with the contents of the project directory; and list each of them, collecting a list of items that are not included.

<ItemGroup> <Content Include="rootFile.html" /> <Content Include="Directory1\File1.xml" /> <Content Include="Directory2\File2.xml" /> <ItemGroup> 

As for the integration of this behavior in Visual Studio, either a function request file with Microsoft , or write this addon.

+1
source

All Articles