anchor.diff:          CleanDir parameters.MSBuildOutputDir
       )
   
  +  let private _PackageTarget parameters =
  +    _CreateTarget "Package" parameters (fun _ ->
  +        parameters.NuspecFilePath
  +            |> _EnsureNuspecFileExists
  +            |> NuGetPack (fun nugetParams -> parameters.NuGetParams)
  +    )
  +
  +  let private _PublishTarget parameters =
  +    _CreateTarget "Publish" parameters (fun _ ->
  +        NuGetPublish (fun nugetParams -> parameters.NuGetParams)
  +    )
  +
     let Initialize setParams =
       let parameters = ConfigDefaults() |> setParams
   
       parameters
           |> _MSBuildTarget
           |> _CleanTarget
  +        |> _PackageTarget
  +        |> _PublishTarget
  
positive.code:       MSBuildArtifacts : FileIncludes
        MSBuildReleaseArtifacts : FileIncludes
        MSBuildOutputDir : string
      }
  
    let ConfigDefaults() =
  
negative.code:       MSBuildArtifacts = !! "src/**/bin/**/*.*" ++ "src/**/obj/**/*.*"
        MSBuildReleaseArtifacts = !! "**/bin/Release/*"
        MSBuildOutputDir = "bin"
        NuspecFilePath = TryFindFirstMatchingFile "*.nuspec" "."
        NuGetParams = NuGetDefaults()
      }
  
    let private _EnsureNuspecFileExists filePath =
      match filePath with
      | Some x -> x
      | None -> raise (FileNotFoundException("Could not find the nuspec file"))
  
    let private _CreateTarget targetName parameters targetFunc =
      Target targetName targetFunc
  