anchor.diff:      for packagesConfigFile in nugetPackagesConfigs |> Seq.map (fun f -> f.File) do
           removeFileIfExists packagesConfigFile.FullName
   
  +    let autoVsNugetRestore = nugetConfig.PackageRestoreEnabled && nugetConfig.PackageRestoreAutomatic
  +    let targetsNugetRestore = FindAllFiles(".", "nuget.targets") |> Seq.isEmpty |> not
  +
       match Directory.EnumerateDirectories(".", ".nuget", SearchOption.AllDirectories) |> Seq.firstOrDefault with
       | Some nugetDir ->
           let nugetTargets = Path.Combine(nugetDir, "nuget.targets")
  
positive.code:                    PackageRestoreEnabled = false 
                     PackageRestoreAutomatic = false }
  
  let private readPackageSources(configFile : FileInfo) =
      let doc = XmlDocument()
      doc.Load configFile.FullName
      [for node in doc.SelectNodes("//packageSources/add[@value]") ->
          let url = node.Attributes.["value"].Value
          let auth = doc.SelectNodes(sprintf "//packageSourceCredentials/%s" (XmlConvert.EncodeLocalName node.Attributes.["key"].Value))
                     |> Seq.cast<XmlNode>
                     |> Seq.firstOrDefault
                     |> Option.map (fun node -> {Username = AuthEntry.Create <| node.SelectSingleNode("//add[@key='Username']").Attributes.["value"].Value
                                                 Password = AuthEntry.Create <| node.SelectSingleNode("//add[@key='ClearTextPassword']").Attributes.["value"].Value})
          PackageSource.Parse (url, auth)]
  
  let removeFileIfExists file = 
      if File.Exists file then 
          File.Delete file
          tracefn "Deleted %s" file
  
  let private convertNugetsToDepFile(nugetPackagesConfigs) =
      let allVersions =
          nugetPackagesConfigs
          |> Seq.collect (fun c -> c.Packages)
  
negative.code: 
      match existingDepFile with
      | None ->
          let packages = packagesToAdd |> List.map (fun (name,v) -> nugetPackageRequirement(name,v,nugetConfig.PackageSources))
          DependenciesFile(Constants.DependenciesFile, InstallOptions.Default, packages, []).Save()
      | Some depFile ->
          if not (packagesToAdd |> List.isEmpty)
  