anchor.diff:          trace "Skipping Publish Database project"
   )
   
  -Target "Clean Projects" (fun _ ->
  -    trace "Clean Projects"
  -    !! (".\**\*.csproj")
  -        |> myBuildConfig "" "Clean"
  -        |> Log "AppBuild-Output: "
  -)
  -
  +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"
  
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:         |> Log "AppBuild-Output: "
  )
  
  Target "Building Unit Tests" (fun _ ->
  
      trace "Building Unit Tests"
  