anchor.diff:        |> myBuildConfig "" "Rebuild"
         |> Log "AppBuild-Output: "
   
  +)
  +
  +Target "Build WebJob Project" ( fun _ ->
  +    
  +    let directoryinfo = FileSystemHelper.directoryInfo(@".\" @@ publishDirectory @@ "\..\WebJob")
  +    let directory = directoryinfo.FullName
  +    traceImportant directory
  +    let properties = 
  +                    [
  +                        ("DeployOnBuild", "True");
  +                        ("WebPublishMethod", "Package");
  +                        ("SkipInvalidConfigurations", "true");
  +                        ("PackageLocation", directory);
  +                        ("ToolsVersion","14");
  +                    ]
  +
  +    !! (@".\**\*.WebJob.csproj")
  +        |> MSBuildReleaseExt null properties "Build"
  +        |> Log "Build-Output: "
  +    
   )
   
   Target "Run NUnit Tests" (fun _ ->
  
positive.code:     if result <> 0 then failwith "Failed to build DNX project"
  
  )
  
  let buildSolution() = 
  
      if solutionFilePresent then
          let buildMode = getBuildParamOrDefault "buildMode" "Debug"
  
          let properties = 
                          [
                              ("TargetProfile","cloud")
                          ]
  
          !! (@"./" + projectName + ".sln")
              |> MSBuildReleaseExt null properties "Publish"
              |> Log "Build-Output: "
  
  
  Target "Build Acceptance Solution"(fun _ ->
      buildSolution()
  
negative.code:         trace "Skipping Publish Database project"
  )
  
  Target "Clean Build Directories" (fun _ ->
      
      let mutable files = !! ("./**/bin/*.*")
      files <- files.And("./**/**/debug/*.*")
      files <- files.And("./**/**/release/*.*")
      files <- files.And("./**/obj/*.*") 
      
      let directoryNames = [| for file in files -> fileInfo(file).Directory.FullName |]
  
      FileHelper.DeleteDirs(Seq.distinct(directoryNames)) |> ignore
  
  )
  
  Target "Build Projects" (fun _ ->
      trace "Build Projects"
  