How to add an existing folder to an F # .NET project in Visual Studio Ultimate 2013?

I want to add an existing folder to my F#.NET project in Visual Studio Ultimate 2013.

Some Stackoverflow-related issues relate to this issue, most of which mention the mythical "Show all files" icon as a protection at the top of Solution Explorer.

However, I do not have such an icon, and I cannot conjure it. Regardless of whether I click on my solution or my project, the upper part of Solution Explorer remains the same, both do not have "Show All Files":

enter image description here

I tried to implement the Rodolfo Maayos solution to no avail - I still get the above top section of the Solution Explorer.

Dragging and dropping folders will not work, as well as any other tricks from Stackoverflow or the network, or the ones I tried to come up with ...

Adding a folder to a project is truly the pinnacle of programming know-how, so I fully understand why Microsoft made it so complicated in Visual Studio Ultimate 2013.

+7
visual-studio-2013 folder f # add project
source share
2 answers

This may not be the best answer, but in such cases, if all else fails, manually edit the .proj file.

+2
source share

The "Show all files" function does not work for the F # project, since the F # project system has not yet implemented it.

In Visual F # Power Tools, we added primitive menu items to support folders. Adding an existing folder can be done using:

  • 'F # Power Tools → New Folder' and select the existing folder name on the disk (in this case, the menu item is a little intuitive)
  • 'Add → Existing item' and select all the files you want to add.

A more detailed description of folder support can be found at http://fsprojects.imtqy.com/VisualFSharpPowerTools/folderorganization.html .

The tool extension can be downloaded from http://visualstudiogallery.msdn.microsoft.com/136b942e-9f2c-4c0b-8bac-86d774189cff . Let us know if this works for you.

+9
source share

All Articles