How to create a F# based Visual Studio Add-In? -
With F # installed, Visual Studio 2008 (and possibly 2010) provides add-in project templates for C #, VB.NET and C ++.
How to create an F # based add-in?
I have tried to create an F # Class library project with a new class, which is to set correct references (EnvDTE, Extensibility, ...), C # Add-In (Mainly A command line for debugging) by copying some project attributes and more. Addin manifests the file with hand, but there is no success. When VS Launched, my add-in is not listed in the Available.
What are the missing steps? Any kind of COM registration somewhere?
I have not tried this exact scenario, but with the general strategy I is the best luck: Start with the C # template, rename .fsproj to .csproj and & lt; Import & gt; Change
s to F # and & lt; Compile & gt; / Code> F # code with F # code, and exit from there.
Templates often have many important logic for creation / deployment, so start with a working template for C # and press it for F #.