How can I enable a WinForms or WPF project in F#?

  • A+

I have the very latest version of Visual Studio 2017 installed. I selected F# language support and F# desktop support. After restarting and going to File -> New Project I was expecting to see an option to start a new WPF or WinForms project for F# but I don't have any such options. Only console, library, ASP.NET core, and the tutorial.

How can I enable or find the new project templates for F# desktop applications?

As far as I know, there are no "out of the box" templates for WPF or WinForms on F# but (at least in VS2015) there were a set of community templates for WPF apps. To be honest, you don't need a template really, especially if you use the FSXaml project which makes it pretty easy to do it by hand (


:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: