anchor.diff:      ] |> Seq.filter (not << String.IsNullOrEmpty) |> String.concat " "
   
   
  -/// Execute dotnet compile command
  +/// Execute dotnet build command
   /// ## Parameters
   ///
   /// - 'setParams' - set compile command parameters
   /// - 'project' - project to compile
   let DotnetCompile setParams project =    
  -    traceStartTask "Dotnet:compile" project
  -    let param = DotNetCompileOptions.Default |> setParams    
  -    let args = sprintf "compile %s %s" project (buildCompileArgs param)
  +    traceStartTask "Dotnet:build" project
  +    let param = DotNetBuildOptions.Default |> setParams    
  +    let args = sprintf "build %s %s" project (buildBuildArgs param)
       let result = Dotnet param.Common args    
  -    if not result.OK then failwithf "dotnet compile failed with code %i" result.ExitCode
  -    traceEndTask "Dotnet:compile" project+    if not result.OK then failwithf "dotnet build failed with code %i" result.ExitCode
  +    traceEndTask "Dotnet:build" project
positive.code: 
  let private downloadInstaller fileName =  
      let installScript = Http.RequestStream dotnetCliInstaller
      use outFile = File.OpenWrite(fileName)
      installScript.ResponseStream.CopyTo(outFile)
      trace (sprintf "downloaded dotnet installer to %s" fileName)
      fileName
  
  /// dotnet cli version (used to specify version when installing dotnet cli)
  type DotnetCliVersion =
      | Latest
      | Version of string
      
  /// dotnet cli install options
  type DotNetCliInstallOptions =
  
negative.code:         Common: DotnetOptions;
          /// Nuget feeds to search updates in. Use default if empty.
          Sources: string list;
          /// Directory to install packages in (--packages).
          Packages: string list;
          /// Path to the nuget configuration file (nuget.config).
          ConfigFile: string option;
          /// No cache flag (--no-cache)
          NoCache: bool;
          /// Restore logging verbosity (--verbosity)
          Verbosity: NugetRestoreVerbosity option
          /// Only warning failed sources if there are packages meeting version requirement (--ignore-failed-sources)
          IgnoreFailedSources: bool;
          /// Disables restoring multiple projects in parallel (--disable-parallel)
          DisableParallel: bool;
      }
  
      /// Parameter default values.
      static member Default = {
          Common = DotnetOptions.Default
          Sources = []
          Packages = []
          ConfigFile = None        
          NoCache = false
          Verbosity = None
          IgnoreFailedSources = false
          DisableParallel = false
      }
  
  /// [omit]
  let private buildRestoreArgs (param: DotnetRestoreOptions) =
      let restoreVerbosityParamValue = 
          match param.Verbosity with
          | Some v -> sprintf "--verbosity %s" <| v.ToString()
          | None -> ""
  
      [   param.Sources |> argList2 "source"
          param.Packages |> argList2 "packages"
          param.ConfigFile |> Option.toList |> argList2 "configFile"
          (if param.NoCache then "--no-cache" else "")
          (if param.IgnoreFailedSources then "--ignore-failed-sources" else "")
          (if param.DisableParallel then "--disable-parallel" else "")
          restoreVerbosityParamValue
      ] |> Seq.filter (not << String.IsNullOrEmpty) |> String.concat " "
  
  
  