Skip to content
iakov edited this page Nov 25, 2012 · 11 revisions

The FSharpx project is using "FAKE - F# Make" as the build system.

There are four different modes available:

  • ./build.v3.5.bat - builds FSharpx.Core for .NET Framework 3.5
  • ./build.v4.0.bat - builds FSharpx.Core, FSharpx.Observable and FSharpx.Http for .NET Framework 4.0
  • ./build.v4.5.bat - builds all the 4.0 projects and FSharpx.TypeProviders for .NET Framework 4.5
  • ./build.all.bat - builds all the projects for all compatible .NET framwork versions

Building FSharpx.TypeProviders

  • Open FSharpx.WithTypeProviders.sln with Visual Studio 2012
  • Set FSharpx.TypeProviders as startup project
  • In the properties of FSharpx.TypeProviders:
    • Set the start action to "external program" and "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe"
    • Set the command line argument to "C:\code\fsharpx\FSharpx.TypeProviders.Tests.sln" (adjust the path to match to your system)
  • Run the project --> A new Visual Studio 2012 instance should opened with FSharpx.TypeProviders.Tests.sln

Due to missing fsc.exe and fsi.exe there is no automated build for the type providers project at the moment. The nuget package is created by the following steps:

  • Fix the version no. at the top of build.fsx
  • Run build.v4.5.bat
  • Upload the package from nuget/TypeProviders manually to nuget.org.

In order to build and test the type providers do the following:

Clone this wiki locally