Why doesn't Visual Studio refresh the folders when I click the Solution Explorer refresh button?

前端 未结 5 2040
暖寄归人
暖寄归人 2020-12-24 04:53

In Visual Studio 2008, I can see all my project files in my Solution Explorer, and these files exist in an actual diectory.

However, if I add a file to that directory

5条回答
  •  [愿得一人]
    2020-12-24 05:35

    On the solution, click the right mouse button and select 'Add existing item' and pick the file from the solution root directory. The Solution will now get a 'Solution Items' directory which contains your file. This directory is virtual, so it does not exist on disk.

    However there is no feature like 'Show All Files' for a solution, this only works on projects.

提交回复
热议问题