anchor.diff:  //use dotnet-mergenupkg to merge the .netcore nuget package into the default one
   Target "Nuget.AddNetCore" (fun _ ->
       do
  -        let nupkg = sprintf "%s/FSharp.Compiler.Service.%s.nupkg" buildDir release.AssemblyVersion
  +        let nupkg = sprintf "%s/FSharp.Compiler.Service.%s.nupkg" releaseDir release.AssemblyVersion
           let netcoreNupkg = sprintf "src/fsharp/FSharp.Compiler.Service/bin/Release/FSharp.Compiler.Service.%s.nupkg" release.AssemblyVersion
           runCmdIn false "." "dotnet" "mergenupkg --source %s --other %s --framework netstandard1.6" nupkg netcoreNupkg
   
       do
  -        let nupkg = sprintf "%s/FSharp.Compiler.Service.ProjectCracker.%s.nupkg" buildDir release.AssemblyVersion
  +        let nupkg = sprintf "%s/FSharp.Compiler.Service.ProjectCracker.%s.nupkg" releaseDir release.AssemblyVersion
           let netcoreNupkg = sprintf "src/fsharp/FSharp.Compiler.Service.ProjectCracker/bin/Release/FSharp.Compiler.Service.ProjectCracker.%s.nupkg" release.AssemblyVersion
  +        runCmdIn false "." "dotnet" "mergenupkg --source %s --other %s --framework netstandard1.6" nupkg netcoreNupkg
  +)
  +
  +Target "Nuget.AddNetCore.Debug" (fun _ ->
  +    do
  +        let nupkg = sprintf "%s/FSharp.Compiler.Service.%s.nupkg" debugDir nugetDebugVersion
  +        let netcoreNupkg = sprintf "src/fsharp/FSharp.Compiler.Service/bin/Debug/FSharp.Compiler.Service.%s.nupkg" release.AssemblyVersion
  +        runCmdIn false "." "dotnet" "mergenupkg --source %s --other %s --framework netstandard1.6" nupkg netcoreNupkg
  +
  +    do
  +        let nupkg = sprintf "%s/FSharp.Compiler.Service.ProjectCracker.%s.nupkg" debugDir nugetDebugVersion
  +        let netcoreNupkg = sprintf "src/fsharp/FSharp.Compiler.Service.ProjectCracker/bin/Debug/FSharp.Compiler.Service.ProjectCracker.%s.nupkg" release.AssemblyVersion
           runCmdIn false "." "dotnet" "mergenupkg --source %s --other %s --framework netstandard1.6" nupkg netcoreNupkg
   )
   
  
positive.code: 
  // --------------------------------------------------------------------------------------
  // Build a NuGet package
  
  Target "NuGet.NetFx" (fun _ ->
      Paket.Pack (fun p ->
          { p with
              TemplateFile = "nuget/FSharp.Compiler.Service.template"
              Version = release.NugetVersion
              OutputPath = buildDir
              ReleaseNotes = toLines release.Notes })
      Paket.Pack (fun p ->
          { p with
              TemplateFile = "nuget/projectcracker.template"
              Version = release.NugetVersion
              OutputPath = buildDir
              ReleaseNotes = toLines release.Notes })
  )
  
  
negative.code: // --------------------------------------------------------------------------------------
  
  let buildDir = "bin"
  let releaseDir = "artefacts/release"
  let debugDir = "artefacts/debug"
  
  let buildDebugPackage = environVar "DEBUG_PACKAGE" <> "false"
  
  // Read release notes & version info from RELEASE_NOTES.md
  let release = LoadReleaseNotes (__SOURCE_DIRECTORY__ + "/RELEASE_NOTES.md")
  