删除 Visual Studio 2013 中丢失的文件

删除 Visual Studio 2013 中丢失的文件

问题描述:

是否有一种快速方法可以仅删除 Visual Studio 项目中丢失的文件?因此,无法再访问的文件已被删除或移至 Visual Studio 之外.

Is there a quick way to remove only files that are missing in a Visual Studio project? So files that are no longer accessible that were either deleted or moved outside of Visual Studio.

听起来您已经物理删除了一个 MSVS 项目仍然记得"的文件.

It sounds like you've physically deleted a file that an MSVS project still "remembers".

您可能只需在 MSVS IDE 中选择和删除有问题的项目项即可.

You can probably just select and delete the project items in question in the MSVS IDE.

就个人而言,我只是在记事本中编辑项目文件(例如myprog.csproj").

Personally, I'd just edit the project file (e.g. "myprog.csproj") in Notepad.