Fake.DotNet.MSBuild
6.1.3
dotnet add package Fake.DotNet.MSBuild --version 6.1.3
NuGet\Install-Package Fake.DotNet.MSBuild -Version 6.1.3
<PackageReference Include="Fake.DotNet.MSBuild" Version="6.1.3" />
paket add Fake.DotNet.MSBuild --version 6.1.3
#r "nuget: Fake.DotNet.MSBuild, 6.1.3"
// Install Fake.DotNet.MSBuild as a Cake Addin #addin nuget:?package=Fake.DotNet.MSBuild&version=6.1.3 // Install Fake.DotNet.MSBuild as a Cake Tool #tool nuget:?package=Fake.DotNet.MSBuild&version=6.1.3
FAKE - F# Make ·
"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 bydotnet fake build
- Or: Install FAKE 5 or later (for example via
choco install fake -pre
) and runfake 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 |
|
Fake.Core.Target |
|
Fake.Core.Context |
|
Legacy FAKE |
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 | Versions 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. |
.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. |
-
.NETStandard 2.0
- BlackFox.VsWhere (>= 1.1.0)
- Fake.Core.Environment (>= 6.1.3)
- Fake.Core.Process (>= 6.1.3)
- Fake.Core.String (>= 6.1.3)
- Fake.Core.Trace (>= 6.1.3)
- Fake.IO.FileSystem (>= 6.1.3)
- FSharp.Core (>= 8.0.301)
- MSBuild.StructuredLogger (>= 2.1.815)
-
net6.0
- BlackFox.VsWhere (>= 1.1.0)
- Fake.Core.Environment (>= 6.1.3)
- Fake.Core.Process (>= 6.1.3)
- Fake.Core.String (>= 6.1.3)
- Fake.Core.Trace (>= 6.1.3)
- Fake.IO.FileSystem (>= 6.1.3)
- FSharp.Core (>= 8.0.301)
- MSBuild.StructuredLogger (>= 2.1.815)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Fake.DotNet.MSBuild:
Package | Downloads |
---|---|
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#. |
|
Fake.DotNet.Fsi
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.Xamarin
FAKE - F# Make - is a build automation tool for .NET. Tasks and dependencies are specified in a DSL which is integrated in F#. |
|
Steinpilz.DevFlow.Fake.Lib
Contains common build scripts to build .net open source libraries |
|
Steinpilz.DevFlow.Fake5
Contains common build scripts to build .net open source libraries |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Fake.DotNet.MSBuild:
Repository | Stars |
---|---|
elastic/apm-agent-dotnet
|
Version | Downloads | Last updated |
---|---|---|
6.1.3 | 13,429 | 9/26/2024 |
6.1.2 | 705 | 9/24/2024 |
6.1.1 | 5,457 | 9/1/2024 |
6.1.0 | 4,936 | 8/5/2024 |
6.0.0 | 216,139 | 2/21/2023 |
6.0.0-beta001 | 2,499 | 12/21/2022 |
6.0.0-alpha004 | 2,815 | 11/17/2022 |
6.0.0-alpha003 | 1,941 | 11/11/2022 |
6.0.0-alpha002 | 1,914 | 11/1/2022 |
6.0.0-alpha001 | 1,849 | 11/1/2022 |
5.23.1 | 125,586 | 10/21/2022 |
5.23.0 | 59,327 | 8/1/2022 |
5.23.0-alpha002 | 3,290 | 7/22/2022 |
5.23.0-alpha001 | 1,850 | 7/15/2022 |
5.22.0 | 143,754 | 2/14/2022 |
5.21.1 | 10,760 | 1/30/2022 |
5.21.0 | 10,105 | 1/24/2022 |
5.21.0-alpha004 | 2,153 | 1/6/2022 |
5.21.0-alpha003 | 3,776 | 11/11/2021 |
5.21.0-alpha002 | 2,135 | 11/11/2021 |
5.21.0-alpha001 | 2,167 | 11/10/2021 |
5.20.4 | 356,698 | 3/31/2021 |
5.20.4-alpha.1658 | 153 | 3/30/2021 |
5.20.4-alpha.1642 | 5,718 | 10/23/2020 |
5.20.3 | 178,978 | 8/5/2020 |
5.20.2 | 28,463 | 6/27/2020 |
5.20.1 | 41,454 | 6/13/2020 |
5.20.1-alpha.1590 | 268 | 5/7/2020 |
5.20.0 | 68,612 | 5/5/2020 |
5.20.0-alpha.1584 | 209 | 5/5/2020 |
5.20.0-alpha.1583 | 212 | 5/5/2020 |
5.20.0-alpha.1580 | 354 | 5/4/2020 |
5.20.0-alpha.1566 | 282 | 4/13/2020 |
5.20.0-alpha.1545 | 342 | 3/7/2020 |
5.20.0-alpha.1535 | 222 | 3/6/2020 |
5.19.2-alpha.1526 | 255 | 3/5/2020 |
5.19.1 | 78,778 | 2/9/2020 |
5.19.0 | 39,696 | 12/19/2019 |
5.19.0-alpha.1473 | 231 | 12/18/2019 |
5.19.0-alpha.1439 | 971 | 12/16/2019 |
5.18.3 | 56,175 | 11/4/2019 |
5.18.2 | 19,092 | 10/26/2019 |
5.18.1 | 16,716 | 10/22/2019 |
5.18.0 | 4,103 | 10/20/2019 |
5.17.0 | 5,441 | 10/12/2019 |
5.16.2-alpha.1304 | 491 | 10/8/2019 |
5.16.1 | 26,658 | 8/25/2019 |
5.16.0 | 13,287 | 8/17/2019 |
5.16.0-alpha.1228 | 245 | 8/17/2019 |
5.15.4 | 68,342 | 7/16/2019 |
5.15.3 | 10,073 | 7/3/2019 |
5.15.2 | 3,779 | 7/3/2019 |
5.15.1 | 4,954 | 7/1/2019 |
5.15.1-alpha.1104 | 406 | 6/21/2019 |
5.15.0 | 13,034 | 6/17/2019 |
5.14.1 | 3,425 | 6/13/2019 |
5.14.0 | 3,714 | 6/12/2019 |
5.14.0-alpha.1085 | 473 | 6/10/2019 |
5.13.7 | 29,530 | 5/12/2019 |
5.13.5 | 7,952 | 5/1/2019 |
5.13.3 | 4,011 | 4/30/2019 |
5.13.2 | 8,368 | 4/23/2019 |
5.13.1 | 3,517 | 4/22/2019 |
5.13.0 | 5,705 | 4/14/2019 |
5.13.0-alpha.987 | 323 | 4/14/2019 |
5.13.0-alpha.975 | 300 | 4/14/2019 |
5.12.6 | 26,972 | 3/17/2019 |
5.12.4 | 18,348 | 2/27/2019 |
5.12.1 | 13,154 | 2/15/2019 |
5.12.0 | 28,254 | 1/12/2019 |
5.11.1 | 19,021 | 12/6/2018 |
5.11.0 | 3,979 | 12/4/2018 |
5.10.1 | 11,116 | 11/11/2018 |
5.9.3 | 105,627 | 10/15/2018 |
5.9.2 | 4,130 | 10/14/2018 |
5.9.1 | 3,047 | 10/13/2018 |
5.9.0 | 2,872 | 10/13/2018 |
5.8.5 | 10,513 | 10/10/2018 |
5.8.4 | 3,731 | 10/8/2018 |
5.7.2 | 8,666 | 9/24/2018 |
5.7.0 | 3,062 | 9/23/2018 |
5.6.2-alpha.494 | 1,355 | 9/23/2018 |
5.6.2-alpha.491 | 433 | 9/22/2018 |
5.6.1 | 4,267 | 9/9/2018 |
5.6.0 | 2,449 | 9/9/2018 |
5.5.1-alpha.403 | 639 | 8/26/2018 |
5.5.0 | 2,968 | 8/26/2018 |
5.4.1 | 2,737 | 8/16/2018 |
5.4.0 | 2,696 | 8/11/2018 |
5.3.1 | 2,980 | 8/5/2018 |
5.3.0 | 3,304 | 7/30/2018 |
5.2.0 | 18,149 | 7/9/2018 |
5.1.0 | 4,220 | 6/17/2018 |
5.0.0 | 3,267 | 6/6/2018 |
5.0.0-rc018.248 | 651 | 6/5/2018 |
5.0.0-rc018.244 | 587 | 6/2/2018 |
5.0.0-rc017.237 | 701 | 5/27/2018 |
5.0.0-rc016.225 | 1,115 | 5/21/2018 |
5.0.0-rc015.196 | 548 | 5/20/2018 |
5.0.0-rc014.167 | 1,139 | 5/19/2018 |
5.0.0-rc013.141 | 525 | 5/18/2018 |
5.0.0-rc012.95 | 1,055 | 5/12/2018 |
5.0.0-rc011 | 2,308 | 5/6/2018 |
5.0.0-rc010 | 1,571 | 5/1/2018 |
5.0.0-rc009 | 1,591 | 5/1/2018 |
5.0.0-rc008 | 1,821 | 4/26/2018 |
5.0.0-rc007 | 1,440 | 4/22/2018 |
5.0.0-rc006 | 1,838 | 4/22/2018 |
5.0.0-rc005 | 1,670 | 4/15/2018 |
5.0.0-rc004 | 1,584 | 4/9/2018 |
5.0.0-rc001 | 2,138 | 4/7/2018 |
5.0.0-beta029 | 1,728 | 3/25/2018 |
5.0.0-beta028 | 1,458 | 3/24/2018 |
5.0.0-beta027 | 1,495 | 3/24/2018 |
5.0.0-beta026 | 1,428 | 3/24/2018 |
5.0.0-beta025 | 1,364 | 3/19/2018 |
5.0.0-beta024 | 1,588 | 3/9/2018 |
5.0.0-beta023 | 1,344 | 3/4/2018 |
5.0.0-beta022 | 1,405 | 3/4/2018 |
5.0.0-beta021 | 1,331 | 3/2/2018 |
5.0.0-beta020 | 1,421 | 2/26/2018 |
5.0.0-beta019 | 1,314 | 2/25/2018 |
5.0.0-beta018 | 1,458 | 2/19/2018 |
5.0.0-beta017 | 1,261 | 2/18/2018 |
5.0.0-beta016 | 1,333 | 2/17/2018 |
5.0.0-beta015 | 1,325 | 2/17/2018 |
5.0.0-beta014 | 1,277 | 2/10/2018 |
5.0.0-beta013 | 1,378 | 2/3/2018 |
5.0.0-beta012 | 1,428 | 1/28/2018 |
5.0.0-beta011 | 1,314 | 1/27/2018 |
5.0.0-beta010 | 1,397 | 10/28/2017 |
5.0.0-beta008 | 1,407 | 10/23/2017 |
5.0.0-beta007 | 1,181 | 10/23/2017 |
5.0.0-beta006 | 1,270 | 10/22/2017 |
5.0.0-beta005 | 1,192 | 10/2/2017 |
5.0.0-beta004 | 1,161 | 10/2/2017 |
5.0.0-beta003 | 1,132 | 9/26/2017 |
5.0.0-beta002 | 1,077 | 9/25/2017 |
5.0.0-beta001 | 1,102 | 9/25/2017 |
5.0.0-alpha018 | 1,251 | 9/24/2017 |
5.0.0-alpha017 | 1,119 | 9/23/2017 |
5.0.0-alpha016 | 1,097 | 9/23/2017 |
5.0.0-alpha015 | 1,297 | 8/27/2017 |
5.0.0-alpha014 | 1,153 | 7/28/2017 |
5.0.0-alpha013 | 1,095 | 7/26/2017 |
5.0.0-alpha012 | 1,550 | 7/25/2017 |
5.0.0-alpha011 | 1,211 | 7/24/2017 |
5.0.0-alpha010 | 1,244 | 6/12/2017 |
5.0.0-alpha009 | 1,602 | 5/27/2017 |
ENHANCEMENT: SdkAssemblyResolver. Support using the latest installed SDK.