anchor.diff:                      logger.Debug("not yet choosen, try pick one")
                       pickMSbuildHostType ()
   
  -            msbuildHostType <- h
  -
  -            let _ =
  -                match msbuildHostType with
  -                | Some MSbuildHost.MSBuildExe ->
  -                    logger.Debug("using .NET msbuild")
  -                | Some MSbuildHost.DotnetCli ->
  -                    logger.Debug("using .NET Core msbuild")
  -                | None ->
  -                    logger.Debug("not choosen yet")
  +            setMSbuildHostType h
   
               return h
           }
  
positive.code:                 | 0 | _ -> None
              f p h
  
          Environment.msbuild
          |> Promise.map (fun p ->
              logger.Debug("MSBuild found at %s", p)
              logger.Debug("MSBuild activated")
          )
          |> ignore
          Environment.dotnet
          |> Promise.map (fun p ->
              logger.Debug("Dotnet cli (.NET Core) found at %s", p)
              logger.Debug("Dotnet cli (.NET Core) activated")
          )
          |> ignore
  
          registerCommand "MSBuild.buildCurrent" (fun _ -> buildCurrentProject "Build")
          registerCommand "MSBuild.rebuildCurrent" (fun _ -> buildCurrentProject "Rebuild")
  
negative.code:         | None ->
              promise {
                  logger.Debug "No MSBuild host selected yet"
                  let! hostFromConfig = loadMSBuildHostCfg ()
                  let! ho =
                      match hostFromConfig with
                      | Some h -> Some h |> Promise.lift
                      | None -> pickMSbuildHostType ()
  
                  ho |> Option.iter (Some >> setMSbuildHostType)
  
                  return ho
              }
  