anchor.diff:  open System.IO
   open Fake.Azure
   
  +
  +let env = environVar "FSTWEET_ENVIRONMENT" 
  +
   // Directories
  -let buildDir  = "./build"
  +let buildDir  = 
  +  if env = "dev" then 
  +    "./build" 
  +  else 
  +    Kudu.deploymentTemp
  +  
   let migrationsAssembly = 
     combinePaths buildDir "FsTweet.Db.Migrations.dll"
   
  
positive.code:   swapConnectionString connString localDbConnString
  )
  
  Target "StageFiles" ( fun _ ->
    FileHelper.CopyFile Kudu.deploymentTemp "web.config"
    Kudu.stageFolder buildDir (fun _ -> true))
  
  Target "Deploy" Kudu.kuduSync
  
  
negative.code:   MigrateToLatest dbConnection [migrationsAssembly] DefaultMigrationOptions
  )
  
  
  
  let buildConfig = 
    if env = "dev" then MSBuildDebug else MSBuildRelease
  