anchor.diff:      |> List.iter (fun example ->
               // Compile type provider
               let output = testDir @@ example.Name + ".dll"
  -            let setOpts = fun def -> { def with Output = output; FscTarget = FscTarget.Library }
  -            Fsc setOpts (List.concat [sources;fromExampleDir example.ProviderSourceFiles])
  +            let setOpts = fun (def:FscHelper.FscParams) -> { def with Output = output; FscTarget = FscHelper.FscTarget.Library }
  +            FscHelper.Fsc setOpts (List.concat [sources;fromExampleDir example.ProviderSourceFiles])
   
               // Compile test dll
  -            let setTestOpts = fun def ->
  -                { def with 
  +            let setTestOpts = fun (def:FscHelper.FscParams) ->
  +                { def with
                       Output = testDir @@ example.Name + ".Tests.dll"
  -                    FscTarget = FscTarget.Library
  +                    FscTarget = FscHelper.FscTarget.Library
                       References = [output;nunitDir @@ "nunit.framework.dll"] }
  -            Fsc setTestOpts (fromExampleDir example.TestSourceFiles)
  +            FscHelper.Fsc setTestOpts (fromExampleDir example.TestSourceFiles)
           )
   )
   
  
positive.code: // --------------------------------------------------------------------------------------
  // Compile ProvidedTypes as a smoke test
  Target "Compile" (fun _ ->
      Fsc id sources
      !! "FSharp.TypeProviders.StarterPack.sln"
      |> MSBuildRelease "" "Build"
      |> ignore
  )
  
  type ExampleWithTests = 
      { Name : string
        ProviderSourceFiles : string list
        TestSourceFiles : string list }
  
negative.code: let testDir =  "test"
  let nunitDir = "packages/NUnit/lib/net45"
  
  let sources =
      [srcDir @@ "ProvidedTypes.fsi"
       srcDir @@ "ProvidedTypes.fs"
       srcDir @@ "AssemblyReader.fs"
       srcDir @@ "AssemblyReaderReflection.fs"
       srcDir @@ "ProvidedTypesContext.fs"
       srcDir @@ "ProvidedTypesTesting.fs" ]
  
  
  // --------------------------------------------------------------------------------------
  // Clean build results
  