Fake.Core.Context 6.1.4

FAKE - F# Make ยท FAKE Build and Test NuGet Badge PRs Welcome Join the chat at https://gitter.im/fsharp/FAKE

"FAKE - F# Make" is a cross platform build automation system. Due to its integration in F#, all the benefits of the .NET Framework and functional programming can be used, including the extensive class library, powerful debuggers and integrated development environments like Visual Studio or MonoDevelop, which provide syntax highlighting and code completion.

The new DSL was designed to be succinct, typed, declarative, extensible and easy to use.

Here is an example to get a glimpse on FAKE:

// build.fsx

#r "paket:
nuget Fake.Core.Trace
nuget Fake.Core.Target //"
// include Fake modules, see Fake modules section

open Fake.Core

// *** Define Targets ***
Target.create "Clean" (fun _ ->
  Trace.log " --- Cleaning stuff --- "
)

Target.create "Build" (fun _ ->
  Trace.log " --- Building the app --- "
)

Target.create "Deploy" (fun _ ->
  Trace.log " --- Deploying app --- "
)

open Fake.Core.TargetOperators

// *** Define Dependencies ***
"Clean"
  ==> "Build"
  ==> "Deploy"

// *** Start Build ***
Target.runOrDefault "Deploy"

This example pulls Fake's Target and Trace modules and define three targets: Clean, Build, and Deploy. By analogy with a .Net project;

  • the Clean target can be used to clean the project before a build,
  • the Build target to call MSBuild or any build steps that are required for you application,
  • the Deploy target can push your built project to a cloud service.

At the bottom, the example define target dependencies, which specify that a Deploy must run after a Build which must run after a Clean.

See the project home page for tutorials and the API documentation for various FAKE modules.

Requirements

Fake runner requires .Net v6 SDK to be installed on the machine to run it. .Net v6 was chosen since it is the current LTS release of .Net

FAKE 5 doesn't have this requirement. You can use FAKE 5 runner without having .NET 6 SDK installed since it will default to NETSTANDARD2.0 assemblies. But we advice to see the options available to run your build script in Different Ways to run FAKE

Fake modules has target frameworks of net6 and netstandard2.0. Please see this link which lists the supported .Net and .NET Framework versions by netstandard2.0

Installation

  • Either: Download and install the Dotnet SDK and run dotnet tool restore followed by dotnet fake build
  • Or: Install FAKE 5 or later (for example via choco install fake -pre) and run fake build

Note: You can find more details on the contributing page

Make sure to have long path enabled: see how to enable long paths Otherwise the test-suite will fail (However, the compilation should work)

Usage

See detailed instructions on how to use FAKE in the getting started guide.

NuGet Packages

Package Name Nuget
Fake-Cli NuGet Badge
Fake.Core.Target NuGet Badge
Fake.Core.Context NuGet Badge
Legacy FAKE NuGet Badge

Contributing

See the contributing page.

Maintainers

Although this project is hosted in the fsprojects organization, it is not maintained and managed by the F# Core Engineering Group. The F# Core Engineering Group acknowledges that the independent owner and maintainer of this project is Steffen Forkmann.

Showing the top 20 packages that depend on Fake.Core.Context.

Packages Downloads
Fake.Core.FakeVar
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
45
Fake.Core.FakeVar
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
48
Fake.Core.FakeVar
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
49
Fake.Core.Process
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
45
Fake.Core.Process
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
46
Fake.Core.Process
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
47
Fake.Core.Process
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
50
Fake.Core.Process
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
51
Fake.Core.Process
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
55
Fake.Core.Process
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
58
Fake.Core.Process
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
62
Fake.Core.Trace
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
45
Fake.Core.Trace
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
46
Fake.Core.Trace
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
47
Fake.Core.Trace
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
55
Fake.Core.Trace
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
65
Fake.Tools.Git
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.
48

BUGFIX: Fixes for the .NET CDN changes described at https://github.com/dotnet/core/issues/9671, thanks @richlander, @Numpsy BUGFIX: Update NuGet package dependencies to pick up security fixes, refs https://github.com/fsprojects/FAKE/issues/2871. thanks @Numpsy - https://github.com/fsprojects/FAKE/pull/2872 BUGFIX: Fix documentation articles links, thanks @jhromadik - https://github.com/fsprojects/FAKE/pull/2842 ENHANCEMENT: Parse references at end of changelog as separate component, thanks @florenzen - https://github.com/fsprojects/FAKE/pull/2779 ENHANCEMENT: In Fake.Dotnet.Cli, parse global.json using System.Text.Json instead of Newtonsoft.Json, thanks @Numpsy - https://github.com/fsprojects/FAKE/pull/2839 ENHANCEMENT: Discover VSTest and MSTest using VSWhere, thanks @farlee2121 - https://github.com/fsprojects/FAKE/pull/2843

.NET 6.0

.NET Standard 2.0

Version Downloads Last updated
6.1.4 28 10/31/2025
6.1.3 45 12/13/2024
6.1.2 49 12/23/2024
6.1.1 39 12/23/2024
6.1.0 40 12/20/2024
6.0.0 65 12/24/2024
6.0.0-beta001 37 12/24/2024
6.0.0-alpha004 44 12/19/2024
6.0.0-alpha003 37 12/19/2024
6.0.0-alpha002 54 12/19/2024
6.0.0-alpha001 38 12/23/2024
5.23.1 41 12/17/2024
5.23.0 54 12/24/2024
5.23.0-alpha002 32 12/18/2024
5.23.0-alpha001 39 12/19/2024
5.22.0 47 12/24/2024
5.21.1 37 12/24/2024
5.21.0 37 12/23/2024
5.21.0-alpha004 34 12/19/2024
5.21.0-alpha003 38 12/24/2024
5.21.0-alpha002 37 12/20/2024
5.21.0-alpha001 43 12/23/2024
5.20.4 36 12/24/2024
5.20.4-alpha.1658 34 12/18/2024
5.20.4-alpha.1642 42 12/18/2024
5.20.3 40 12/24/2024
5.20.2 51 12/23/2024
5.20.1 51 12/24/2024
5.20.1-alpha.1590 30 12/18/2024
5.20.0 36 12/19/2024
5.20.0-alpha.1584 31 12/18/2024
5.20.0-alpha.1583 35 12/18/2024
5.20.0-alpha.1580 48 12/18/2024
5.20.0-alpha.1566 28 12/18/2024
5.20.0-alpha.1545 38 12/18/2024
5.20.0-alpha.1535 37 12/18/2024
5.19.2-alpha.1526 50 12/17/2024
5.19.1 35 12/19/2024
5.19.0 40 12/24/2024
5.19.0-alpha.1473 42 12/18/2024
5.19.0-alpha.1439 33 12/18/2024
5.18.3 36 12/23/2024
5.18.2 35 12/23/2024
5.18.1 39 12/24/2024
5.18.0 31 12/23/2024
5.17.0 51 12/23/2024
5.16.2-alpha.1304 29 12/18/2024
5.16.1 43 12/22/2024
5.16.0 30 12/23/2024
5.16.0-alpha.1228 48 12/18/2024
5.15.4 39 12/19/2024
5.15.3 51 12/23/2024
5.15.2 29 12/19/2024
5.15.1 37 12/24/2024
5.15.1-alpha.1104 49 12/18/2024
5.15.0 46 11/28/2024
5.14.1 53 12/23/2024
5.14.0 38 12/24/2024
5.14.0-alpha.1085 28 12/18/2024
5.13.7 52 12/23/2024
5.13.5 51 12/19/2024
5.13.3 36 12/24/2024
5.13.2 40 12/24/2024
5.13.1 37 12/20/2024
5.13.0 34 12/24/2024
5.13.0-alpha.987 39 12/20/2024
5.13.0-alpha.975 38 12/24/2024
5.12.6 33 12/22/2024
5.12.4 38 12/23/2024
5.12.1 49 12/19/2024
5.12.0 34 12/24/2024
5.11.1 39 12/24/2024
5.11.0 34 12/19/2024
5.10.1 39 12/19/2024
5.9.3 43 12/24/2024
5.9.2 37 12/23/2024
5.9.1 48 12/23/2024
5.9.0 46 12/24/2024
5.8.5 45 12/22/2024
5.8.4 54 12/20/2024
5.7.2 42 12/24/2024
5.7.0 50 12/22/2024
5.6.2-alpha.494 33 12/23/2024
5.6.2-alpha.491 41 12/24/2024
5.6.1 36 12/24/2024
5.6.0 40 12/24/2024
5.5.1-alpha.403 39 12/21/2024
5.5.0 43 12/24/2024
5.4.1 38 12/24/2024
5.4.0 45 12/24/2024
5.3.1 41 12/24/2024
5.3.0 38 12/24/2024
5.2.0 68 12/23/2024
5.1.0 42 12/23/2024
5.0.0 36 12/19/2024
5.0.0-rc018.248 34 12/19/2024
5.0.0-rc018.244 40 12/20/2024
5.0.0-rc017.237 29 12/22/2024
5.0.0-rc016.225 43 12/19/2024
5.0.0-rc015.196 34 12/24/2024
5.0.0-rc014.167 39 12/24/2024
5.0.0-rc013.141 40 12/19/2024
5.0.0-rc012.95 38 12/23/2024
5.0.0-rc011 38 12/24/2024
5.0.0-rc010 48 12/24/2024
5.0.0-rc009 38 12/23/2024
5.0.0-rc008 39 12/24/2024
5.0.0-rc007 59 12/19/2024
5.0.0-rc006 37 12/20/2024
5.0.0-rc005 40 12/19/2024
5.0.0-rc004 54 12/24/2024
5.0.0-rc002 44 12/24/2024
5.0.0-rc001 43 12/19/2024
5.0.0-beta029 40 12/24/2024
5.0.0-beta028 47 12/22/2024
5.0.0-beta027 37 12/19/2024
5.0.0-beta026 34 12/24/2024
5.0.0-beta025 36 12/24/2024
5.0.0-beta024 34 12/17/2024
5.0.0-beta023 39 12/23/2024
5.0.0-beta022 41 12/24/2024
5.0.0-beta021 38 12/24/2024
5.0.0-beta020 52 12/24/2024
5.0.0-beta019 37 12/23/2024
5.0.0-beta018 36 12/17/2024
5.0.0-beta017 36 12/24/2024
5.0.0-beta016 42 12/24/2024
5.0.0-beta015 48 12/24/2024
5.0.0-beta014 55 12/17/2024
5.0.0-beta013 36 12/17/2024
5.0.0-beta012 37 12/17/2024
5.0.0-beta011 47 12/24/2024
5.0.0-beta010 38 12/17/2024
5.0.0-beta009 60 12/17/2024
5.0.0-beta008 38 12/23/2024
5.0.0-beta007 41 12/17/2024
5.0.0-beta006 38 12/19/2024
5.0.0-beta005 38 12/17/2024
5.0.0-beta004 37 12/24/2024
5.0.0-beta003 41 12/24/2024
5.0.0-beta002 42 12/24/2024
5.0.0-beta001 35 12/24/2024
5.0.0-alpha018 46 12/24/2024
5.0.0-alpha017 50 12/24/2024
5.0.0-alpha016 54 12/24/2024
5.0.0-alpha015 39 12/20/2024
5.0.0-alpha014 47 12/24/2024
5.0.0-alpha013 49 12/19/2024
5.0.0-alpha012 38 12/24/2024
5.0.0-alpha011 34 12/19/2024
5.0.0-alpha010 36 12/24/2024
5.0.0-alpha009 41 12/24/2024