anchor.diff:      let netcoreNupkg = sprintf "src/fsharp/%s/bin/Release/%s/%s.%s.nupkg" packageName netcoreTFM packageName (release.AssemblyVersion)
   
       //dotnet-mergenupkg is in the FSharp.Compiler.Service project.json
  -    let run exe = runCmdIn @"src/fsharp/FSharp.Compiler.Service/" exe
  -    run "dotnet" """mergenupkg --source "%s" --other "%s" --framework %s """ (System.IO.Path.GetFullPath nupkg) (System.IO.Path.GetFullPath netcoreNupkg) netcoreTFM
  -
  -Target "AddDotnetCoreToNupkg" (fun _ ->
  +    let runInDir exe = runCmdIn @"src/fsharp/FSharp.Compiler.Service/" exe
  +    runInDir "dotnet" """mergenupkg --source "%s" --other "%s" --framework %s """ (System.IO.Path.GetFullPath nupkg) (System.IO.Path.GetFullPath netcoreNupkg) netcoreTFM
  +
  +Target "Nuget.AddNetCore" (fun _ ->
       mergePackage "FSharp.Compiler.Service" "netstandard1.6"
       mergePackage "FSharp.Compiler.Service.ProjectCracker" "netstandard1.6"
       mergePackage "FSharp.Compiler.Service.ProjectCrackerTool" "netcoreapp1.0"
  
positive.code:     fsYacc "../pppars.fsy %s %s %s %s -o pppars.fs" lexArgs yaccArgs module3 open3
  )
  
  Target "DotnetCoreBuild" (fun _ ->
      let run exe = runCmdIn @"src/fsharp/FSharp.Compiler.Service/" exe
      run "dotnet" "-v pack -c Release"
      
      let run exe = runCmdIn @"src/fsharp/FSharp.Compiler.Service.ProjectCracker/" exe
      run "dotnet" "-v pack -c Release"
      
      let run exe = runCmdIn @"src/fsharp/FSharp.Compiler.Service.ProjectCrackerTool/" exe
      run "dotnet" "-v pack -c Release"
  )
  
  Target "DotnetCoreTests" (fun _ ->
      let run exe = runCmdIn @"tests/FSharp.Compiler.Service.Tests/" exe
      run "dotnet" "-v run -c Release"
  )
  
  //use dotnet-mergenupkg to merge the .netcore nuget package into the default one
  
negative.code: )
  
  // --------------------------------------------------------------------------------------
  // .NET Core and .NET Core SDK
  
  let isDotnetSDKInstalled = (try Shell.Exec("dotnet", "--info") = 0 with _ -> false)
  let assertExitCodeZero x = if x = 0 then () else failwithf "Command failed with exit code %i" x
  let runCmdIn workDir exe = Printf.ksprintf (fun args -> Shell.Exec(exe, args, workDir) |> assertExitCodeZero)
  let run exe = runCmdIn "." exe
  
  Target "DotnetCoreCodeGen" (fun _ ->
      let lexArgs = "--lexlib Internal.Utilities.Text.Lexing"
  