Fake.Core.Environment 6.0.0-alpha004

This is a prerelease version of Fake.Core.Environment.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Fake.Core.Environment --version 6.0.0-alpha004
                    
NuGet\Install-Package Fake.Core.Environment -Version 6.0.0-alpha004
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fake.Core.Environment" Version="6.0.0-alpha004" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fake.Core.Environment" Version="6.0.0-alpha004" />
                    
Directory.Packages.props
<PackageReference Include="Fake.Core.Environment" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fake.Core.Environment --version 6.0.0-alpha004
                    
#r "nuget: Fake.Core.Environment, 6.0.0-alpha004"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Fake.Core.Environment@6.0.0-alpha004
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fake.Core.Environment&version=6.0.0-alpha004&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Fake.Core.Environment&version=6.0.0-alpha004&prerelease
                    
Install as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (39)

Showing the top 5 NuGet packages that depend on Fake.Core.Environment:

Package Downloads
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#.

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#.

Fake.DotNet.MSBuild

FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.

Fake.Core.Target

FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.

Fake.DotNet.Cli

FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#.

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on Fake.Core.Environment:

Repository Stars
mathnet/mathnet-numerics
Math.NET Numerics
elastic/elasticsearch-net
This strongly-typed, client library enables working with Elasticsearch. It is the official client maintained and supported by Elastic.
opentk/opentk
The Open Toolkit library is a fast, low-level C# wrapper for OpenGL, OpenAL & OpenCL. It also includes windowing, mouse, keyboard and joystick input and a robust and fast math library, giving you everything you need to write your own renderer or game engine. OpenTK can be used standalone or inside a GUI on Windows, Linux, Mac.
elastic/apm-agent-dotnet
opensearch-project/opensearch-net
OpenSearch .NET Client
Version Downloads Last Updated
6.1.3 153,196 9/26/2024
6.1.2 4,611 9/24/2024
6.1.1 10,943 9/1/2024
6.1.0 12,899 8/5/2024
6.0.0 374,864 2/21/2023
6.0.0-beta001 7,055 12/21/2022
6.0.0-alpha004 8,354 11/17/2022
6.0.0-alpha003 6,324 11/11/2022
6.0.0-alpha002 6,268 11/1/2022
6.0.0-alpha001 6,192 11/1/2022
5.23.1 198,378 10/21/2022
5.23.0 79,532 8/1/2022
5.23.0-alpha002 13,675 7/22/2022
5.23.0-alpha001 6,222 7/15/2022
5.22.0 192,352 2/14/2022
5.21.1 27,261 1/30/2022
5.21.0 26,136 1/24/2022
5.21.0-alpha004 6,390 1/6/2022
5.21.0-alpha003 8,809 11/11/2021
5.21.0-alpha002 7,136 11/11/2021
5.21.0-alpha001 7,167 11/10/2021
5.20.4 433,921 3/31/2021
5.20.4-alpha.1658 181 3/30/2021
5.20.4-alpha.1642 17,112 10/23/2020
5.20.3 224,757 8/5/2020
5.20.2 44,149 6/27/2020
5.20.1 54,836 6/13/2020
5.20.1-alpha.1590 298 5/7/2020
5.20.0 84,405 5/5/2020
5.20.0-alpha.1584 251 5/5/2020
5.20.0-alpha.1583 229 5/5/2020
5.20.0-alpha.1580 377 5/4/2020
5.20.0-alpha.1566 455 4/13/2020
5.20.0-alpha.1545 392 3/7/2020
5.20.0-alpha.1535 249 3/6/2020
5.19.2-alpha.1526 272 3/5/2020
5.19.1 99,984 2/9/2020
5.19.0 52,978 12/19/2019
5.19.0-alpha.1473 262 12/18/2019
5.19.0-alpha.1439 1,000 12/16/2019
5.18.3 75,741 11/4/2019
5.18.2 33,181 10/26/2019
5.18.1 29,933 10/22/2019
5.18.0 17,365 10/20/2019
5.17.0 19,657 10/12/2019
5.16.2-alpha.1304 447 10/8/2019
5.16.1 50,971 8/25/2019
5.16.0 26,852 8/17/2019
5.16.0-alpha.1228 274 8/17/2019
5.15.4 88,279 7/16/2019
5.15.3 23,975 7/3/2019
5.15.2 17,419 7/3/2019
5.15.1 18,638 7/1/2019
5.15.1-alpha.1104 395 6/21/2019
5.15.0 184,299 6/17/2019
5.14.1 17,025 6/13/2019
5.14.0 17,182 6/12/2019
5.14.0-alpha.1085 438 6/10/2019
5.13.7 43,032 5/12/2019
5.13.5 22,089 5/1/2019
5.13.3 17,890 4/30/2019
5.13.2 21,779 4/23/2019
5.13.1 16,933 4/22/2019
5.13.0 19,193 4/14/2019
5.13.0-alpha.987 333 4/14/2019
5.13.0-alpha.975 326 4/14/2019
5.12.6 59,029 3/17/2019
5.12.4 40,983 2/27/2019
5.12.1 27,587 2/15/2019
5.12.0 47,621 1/12/2019
5.11.1 38,153 12/6/2018
5.11.0 18,242 12/4/2018
5.10.1 24,528 11/11/2018
5.9.3 120,494 10/15/2018
5.9.2 16,996 10/14/2018
5.9.1 15,992 10/13/2018
5.9.0 15,831 10/13/2018
5.8.5 23,455 10/10/2018
5.8.4 16,623 10/8/2018
5.7.2 22,008 9/24/2018
5.7.0 16,166 9/23/2018
5.6.2-alpha.494 1,080 9/23/2018
5.6.2-alpha.491 452 9/22/2018
5.6.1 20,172 9/9/2018
5.6.0 15,707 9/9/2018
5.5.1-alpha.403 677 8/26/2018
5.5.0 21,321 8/26/2018
5.4.1 16,489 8/16/2018
5.4.0 15,536 8/11/2018
5.3.1 16,487 8/5/2018
5.3.0 16,410 7/30/2018
5.2.0 32,441 7/9/2018
5.1.0 24,196 6/17/2018
5.0.0 19,885 6/6/2018
5.0.0-rc018.248 721 6/5/2018
5.0.0-rc018.244 870 6/2/2018
5.0.0-rc017.237 849 5/27/2018
5.0.0-rc016.225 1,046 5/21/2018
5.0.0-rc015.196 734 5/20/2018
5.0.0-rc014.167 934 5/19/2018
5.0.0-rc013.141 677 5/18/2018
5.0.0-rc012.95 1,874 5/12/2018
5.0.0-rc011 9,848 5/6/2018
5.0.0-rc010 11,798 5/1/2018
5.0.0-rc009 8,921 5/1/2018
5.0.0-rc008 9,248 4/26/2018
5.0.0-rc007 8,448 4/22/2018
5.0.0-rc006 8,909 4/22/2018
5.0.0-rc005 8,545 4/15/2018
5.0.0-rc004 8,298 4/9/2018
5.0.0-rc002 4,279 4/9/2018
5.0.0-rc001 8,660 4/7/2018
5.0.0-beta029 8,525 3/25/2018
5.0.0-beta028 8,058 3/24/2018
5.0.0-beta027 7,988 3/24/2018
5.0.0-beta026 8,003 3/24/2018
5.0.0-beta025 8,541 3/19/2018
5.0.0-beta024 7,305 3/9/2018
5.0.0-beta023 6,759 3/4/2018
5.0.0-beta022 6,547 3/4/2018
5.0.0-beta021 6,637 3/2/2018
5.0.0-beta020 6,837 2/26/2018
5.0.0-beta019 6,351 2/25/2018
5.0.0-beta018 6,674 2/19/2018
5.0.0-beta017 6,718 2/18/2018
5.0.0-beta016 6,339 2/17/2018
5.0.0-beta015 6,154 2/17/2018
5.0.0-beta014 6,370 2/10/2018
5.0.0-beta013 6,066 2/3/2018
5.0.0-beta012 6,205 1/28/2018
5.0.0-beta011 6,232 1/27/2018
5.0.0-beta010 5,896 10/28/2017
5.0.0-beta009 1,418 10/28/2017
5.0.0-beta008 5,869 10/23/2017
5.0.0-beta007 5,704 10/23/2017
5.0.0-beta006 5,698 10/22/2017
5.0.0-beta005 5,779 10/2/2017
5.0.0-beta004 5,711 10/2/2017
5.0.0-beta003 5,587 9/26/2017
5.0.0-beta002 5,629 9/25/2017
5.0.0-beta001 3,344 9/25/2017
5.0.0-alpha018 5,893 9/24/2017
5.0.0-alpha017 5,919 9/23/2017
5.0.0-alpha016 5,832 9/23/2017
5.0.0-alpha015 4,124 8/27/2017
5.0.0-alpha014 5,852 7/28/2017
5.0.0-alpha013 5,592 7/26/2017
5.0.0-alpha012 6,084 7/25/2017
5.0.0-alpha011 5,543 7/24/2017
5.0.0-alpha010 6,336 6/12/2017
5.0.0-alpha009 5,910 5/27/2017

BUGFIX: Fix build by pinning Microsoft.build packages now that .NET 7 is out and fix links in website, thanks @yazeedobaid - https://github.com/fsprojects/FAKE/pull/2721
BUGFIX: Fix docs URL in Choco template., thanks @yazeedobaid - https://github.com/fsprojects/FAKE/pull/2718