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

前端 未结 5 2052
暖寄归人
暖寄归人 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条回答
  •  猫巷女王i
    2020-12-24 05:32

    At the top of the solution explorer is a toggle button "Show All Files" this makes it include all files in the display even if they aren't included in the project. The icons for these will be grayed out a bit. Then just use the context menu to add these to the project.

提交回复
热议问题