Web Project support in Visual FSharp Tools

Coordinator
Apr 4, 2014 at 4:01 PM
Edited Apr 4, 2014 at 4:03 PM
On the downloads page is a daily build containing project system changes that enable support for Web Projects. You can use this combined with Dan Mohls excellent MVC templates and several other Open Source templates that enable using FSharp with Web Sites.

This is a focus area for us right now, and so we would appreciate any feedback you can give us on, how well it works!, and what doesn't work.

Kevin
Apr 6, 2014 at 4:17 PM
I'm not exactly sure what is included, but I was able to right-click and publish to an Azure Web Site without a hitch! The experience was on par with the experience I've had with C# web projects previously. Thank you!
Coordinator
Apr 7, 2014 at 4:43 PM
If you were able to publish web projects to azure on a par with your existing C# experience then that was exactly what we were going for :-)
Apr 9, 2014 at 10:09 PM
I haven't tried the daily build yet, but support for nested items (foo.min.js nested under foo.js) would be very nice to have if you haven't done it already. It was the first thing I missed when playing around with Dan Mohl's MVC 5 project template using the currently-released F# Tools - even manually editing the .fsproj file to add the <DependentUpon> tag had no effect.
Coordinator
Apr 10, 2014 at 3:41 AM
Hi, the VisualF# Powertools community project is trying to implement folder support, the powertools are very cool, you should check them out and see if you can help them out. I am sure they would appreciate it.

Download the tools from here: http://visualstudiogallery.msdn.microsoft.com/136b942e-9f2c-4c0b-8bac-86d774189cff
Here is the github page with lots of details: http://fsprojects.github.io/VisualFSharpPowerTools/

We will also be open sourcing the vs addins that make up the visual fsharp tools in the future. When that happens we will be able to take the results of these community efforts into our toolset.

I hope this helps

Kevin
Apr 11, 2014 at 12:23 AM
Thanks Kevin, but I am not talking about folder support. I'm talking about how foo.aspx.cs is nested under foo.aspx, or foo.min.js is nested under foo.js. These are not folders, they are files that have one or more other related files nested under themselves in Solution Explorer. At the project file level, it looks like this:
<Content Include="Scripts\jquery-2.1.0.js" />
<Content Include="Scripts\jquery-2.1.0.min.js">
  <DependentUpon>jquery-2.1.0.js</DependentUpon>
</Content>
I would like for F# web projects to support this construct, the same way C# web projects currently do, if at all possible.
Apr 11, 2014 at 9:04 AM
I copied this to the VisualF# Powertools - let's see if these guys have an idea.

https://github.com/fsprojects/VisualFSharpPowerTools/issues/329