开发者

Show only excluded files in VS2010

Is there any way (plugins / extensions are perfectly fine) to show ONLY items that are excluded from a project / solution?

I have a project in which I've just done some significant refactoring and several files and folders are no longer needed. Now I want to remove them from source control (Mercurial, Visua开发者_如何学PythonlHG plugin is installed in VS2010). It's a rather large solution so I'd rather not have to manually drill through Solution Explorer to find them.

Or, if someone has another process to do this I'm certainly open to that as well.


Theres no existing addon at the moment. As the project files are XML (see below), in theory you could write an app to parse it and then compare it to the contents of the project directory; and enumerate each one gathering 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 integrating this behaviour into Visual Studio, either file a feature request with Microsoft or write this addon.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜