I love F#. I am trying to use this language for all my projects. However, as an proud owner of MacBook, it hard to cope with usage of F# under Mono, especially when you have tried F# integration with Visual Studio.
Here you can find source code and binary for this extension.
- Copy binary NAnt.FSharpTask.dll in nant\bin directory
- Insert this task description into NAnt.exe.config file under desired framework section:
<task name="fsc">
<attribute name="exename">
c:\Program Files\FSharp-1.9.4.19\bin\fsc.exe
</attribute>
</task> - Change exename property to path to your F# compiler
For more information see How to use F# extension for NAnt
<fsc target="exe" output="HelloWorld.exe" debug="true">
<sources>
<include name="HelloWorld.fs" />
</sources>
<references>
<include name="System.dll" />
</references>
</fsc>
No comments:
Post a Comment