OBSOLETE
Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)
DotNetCli
Contains a task which can be used to run dotnet CLI commands.
Nested types and modules
Type | Description |
BuildParams |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) DotNet build parameters |
CommandParams |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) DotNet parameters |
PackParams |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) DotNet pack parameters |
PublishParams |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) DotNet publish parameters |
RestoreParams |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) DotNet restore parameters |
TestParams |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) DotNet test parameters |
Functions and values
Function or value | Description | ||
Build(setBuildParams)
Signature: setBuildParams:(BuildParams -> BuildParams) -> unit
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) Runs the dotnet "build" command. Parameters
Sample
|
||
commandName
Signature: string
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) The dotnet command name |
||
DotnetSDKPath
Signature: string
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) |
||
GetDotNetSDKVersionFromGlobalJson()
Signature: unit -> string
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) Gets the DotNet SDK from the global.json |
||
getVersion()
Signature: unit -> string
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) Gets the installed dotnet version |
||
InstallDotNetSDK(sdkVersion)
Signature: sdkVersion:string -> string
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) Installs the DotNet SDK locally to the given path |
||
isInstalled()
Signature: unit -> bool
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) Checks wether the dotnet CLI is installed |
||
Pack(setPackParams)
Signature: setPackParams:(PackParams -> PackParams) -> unit
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) Runs the dotnet "pack" command. Parameters
Sample
|
||
Publish(setPublishParams)
Signature: setPublishParams:(PublishParams -> PublishParams) -> unit
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) Runs the dotnet "publish" command. Parameters
Sample
|
||
Restore(setRestoreParams)
Signature: setRestoreParams:(RestoreParams -> RestoreParams) -> unit
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) Runs the dotnet "restore" command. Parameters
Sample
|
||
RunCommand setCommandParams args
Signature: setCommandParams:(CommandParams -> CommandParams) -> args:string -> unit
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) Runs a dotnet command. Parameters
Sample
|
||
SetVersionInProjectJson version fileName
Signature: version:string -> fileName:string -> unit
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) Sets version in project.json |
||
Test(setTestParams)
Signature: setTestParams:(TestParams -> TestParams) -> unit
Attributes: [<Obsolete("Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)")>] |
OBSOLETEPlease add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli) Runs the dotnet "test" command. Parameters
Sample
|