How do I find files that are missing from visual studio projects?

前端 未结 11 671
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-31 01:59

Due to issues with merging etc, we have lots of project files that don’t contain all source code files that are within their folders.

Before I write a little tool, that

11条回答
  •  太阳男子
    2021-01-31 02:33

    With that number of files and projects, it sounds like you might want something more automated. However, there is a manual approach (not sure if you are already aware of it):

    1. Select the project in Solution Explorer pane
    2. Project menu -> Show all Files
    3. Under the project, files which are not part of the project will show up as "ghost" icons
    4. Select the file(s) you want and pick "Include In Project" from the context menu

提交回复
热议问题