How To ReInclude Excluded Folder

前端 未结 4 2118
渐次进展
渐次进展 2021-02-18 23:18

So I just performed the coup de gras on my project by accidentally clicking on Exclude From Project instead of Add on my controllers folder.

Wh

相关标签:
4条回答
  • 2021-02-18 23:43

    In my ASP.Net Webforms project after excluding the file I could't find it even under 'Show all files', but they were at project folder so I had to right click on project in Visula Studio then add existing item.

    0 讨论(0)
  • 2021-02-18 23:46

    Click on the Show All Files icon in the solution explorer and then simply include the folder:

    enter image description here

    0 讨论(0)
  • 2021-02-18 23:48

    Visual Studio Express 2012

    Select Your Project Folder Click On "Show All Files" icon to show all Excluded Folders And Files

    Click On Show All Files icon to show all Excluded Folders And Files

    Then Right Click on Excluded Folder or File and Click on "Include In Project"

    enter image description here

    0 讨论(0)
  • 2021-02-18 23:55

    For anyone wanting a different solution, you can also browse to your project in a File Explorer and delete the offending folder (Be sure to copy it somewhere safe first!). Restart Visual Studio and proceed to add the folder as you regularly would.

    0 讨论(0)
提交回复
热议问题