anchor.diff:  )
   
   Target "Pack" (fun _ ->
  +    // TODO: This is using an awkward mix of Paket and dotnet to do packaging. We should just use paket.
       DotNetCli.Pack  (fun p -> { p with Configuration = config; 
                                          Project = "src/FSharp.TypeProviders.SDK.fsproj"; 
                                          ToolPath =  getSdkPath(); OutputPath = outputPath; 
  
positive.code:     // Globally install the templates from the template nuget package we just built
      DotNetCli.RunCommand id ("new -i " + outputPath + "/FSharp.TypeProviders.Templates." + release.NugetVersion + ".nupkg")
  
      let testAppName = "tp2" + string (abs (hash System.DateTime.Now.Ticks) % 100)
      CleanDir testAppName
      DotNetCli.RunCommand id (sprintf "new typeprovider -n %s -lang F#" testAppName)
  
      let pkgs = Path.GetFullPath(outputPath)
      // When restoring, using the build_output as a package source to pick up the package we just compiled
      execIn testAppName ".paket/paket.exe" "update"
      //DotNetCli.RunCommand id (sprintf "restore %s/%s/%s.fsproj  --source https://api.nuget.org/v3/index.json --source %s" testAppName testAppName testAppName pkgs)
      
  //    let slash = if isUnix then "\\" else ""
  //    for c in ["Debug"; "Release"] do 
  //        for p in ["Any CPU"; "iPhoneSimulator"] do 
  //            exec "msbuild" (sprintf "%s/%s.sln /p:Platform=\"%s\" /p:Configuration=%s /p:PackageSources=%s\"https://api.nuget.org/v3/index.json%s;%s%s\"" testAppName testAppName p c  slash slash pkgs slash)
      DotNetCli.RunCommand (fun p -> { p with  WorkingDir=testAppName }) (sprintf "build -c debug")
      DotNetCli.RunCommand (fun p -> { p with  WorkingDir=testAppName }) (sprintf "test -c debug")
  
  
negative.code:         .nuget\nuget.exe pack -OutputDirectory bin -Version 0.0.0.99 templates/FSharp.TypeProviders.Templates.nuspec
          dotnet new -i  bin/FSharp.TypeProviders.Templates.0.0.0.99.nupkg
          dotnet new typeprovider -n tp3 -lang:F#
          *)
  
  )
  