I would like to add an existing folder to my F#.NET
project in Visual Studio Ultimate 2013.
Several Stackoverflow questions deal with the issue, most of them mentioning a mythical 'Show All Files' icon as a remedy at the top of Solution Explorer.
However, I do not have such an icon, nor can I conjure one. Whether I click on my Solution or my Project at hand, the top of Solution Explorer remains the same, both lacking a 'Show All Files':
I tried to implement Rodolfo Maayos' solution to no avail - I still get the above Solution Explorer top.
Folder drag-and-drop won't work, nor any other tricks from Stackoverflow or the net, 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 completely understand why Microsoft made it so extremely hard to achieve it in Visual Studio Ultimate 2013.
Adding Files Right click the project or contained folder and choose Add | Existing Item... . Use Show All Files . Click on files or folders you would like to add to the project and choose Include In Project . Drag and drop files and folders from Windows Explorer.
1) navigate to drive C by clicking on the My Computer icon. 2) Right click drive C: to open it. 3) In C: drive right click and select New, choose the folder option. 4) A new folder will appear, Right click it and rename it with your desired name.
'Show All Files' functionality doesn't work for F# project since F# project system hasn't implemented it yet.
In Visual F# Power Tools, we have added primitive menu items to support folders. Adding an existing folder could be done by:
More detailed description of folder support could be found at http://fsprojects.github.io/VisualFSharpPowerTools/folderorganization.html.
The power tools extension could be downloaded from http://visualstudiogallery.msdn.microsoft.com/136b942e-9f2c-4c0b-8bac-86d774189cff. Let us know if it works for you.
Possibly not the best answer, but in cases like this, if all else fails, edit the .proj file manually.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With