Undo VS 'Exclude from project'?

后端 未结 5 1959
挽巷
挽巷 2020-12-04 10:39

Is there a way to undo the \'exclude from project\' operation in Visual Studio (2008) ?

How to include files back into the project after excluding them?

5条回答
  •  忘掉有多难
    2020-12-04 11:14

    Make sure you are showing all files. There is a button at the top of the Solution Explorer called "Show All Files". To see this button, make sure that your project is selected in the solution explorer.

    Show All Files
    enter image description here

    When this option is active, the file should be there, just grayed out. Right click it, and select "Include In Project".

    Include In Project
    enter image description here

提交回复
热议问题