anchor.diff:                          Copyright = copyright
                           Project =  project
                           Properties = ["Configuration", configuration]                        
  -                        Version = formattedVersion
  +                        Version = version
                           Tags = packageTags |> String.concat " "
                           FrameworkAssemblies = getGacReferences csprojFile
                           OutputPath = outputDir
  
positive.code:       ""
        ""      
        "Examples:"
        "  build All config=release version=1.2.0-G4"      
        ""]
  )
  
  
negative.code: let checker = "./Tools/CSProjReferencesChecker.exe"
  let configuration = getBuildParamOrDefault "config" releaseConfig
  let version = getBuildParamOrDefault "version" defaultVersion
  let nugetExe = FullName @"./Tools/NuGet.exe"
  let timeoutExec = 20.0
  
  // helper functions
          
  let formatAssemblyVersion (strVersion:string) =        
      let typeVersionMatch = Regex.Match(strVersion, "build|rc")    
      match typeVersionMatch.Success with
      | true ->
          let typeVersion = typeVersionMatch.Value
          let splitVersion = strVersion.Split('-')   
      
          let majorVersion = splitVersion.[0]        
          let buildVersion = splitVersion.[1]                           
  
          let extVersion = buildVersion.Substring(typeVersion.Length, buildVersion.Length - typeVersion.Length)
          
          let finalExtVersion = 
              match (Convert.ToInt32(extVersion)) with
              | x when x < 10 ->
                  "000" + extVersion
              | x when x < 100 ->
                  "00" + extVersion        
              | x when x < 1000 ->            
                  "0" + extVersion         
              | x when x > 60000 ->
                  "9"
              | _ -> extVersion
            
          let finalTypeVersion = 
              match (typeVersion) with
              | "build" -> "1"
              | "rc" -> "2" 
              | _ -> "3"           
          majorVersion + "." + finalTypeVersion + finalExtVersion
      | false -> strVersion + ".4" // specific release number
  
  let formattedAssemblyVersion = formatAssemblyVersion version
  
  let getMSBuildFn =
      let properties = [("Configuration", configuration);("AssemblyCompany", company);("AssemblyCopyright", copyright); ("VersionNumber", formattedAssemblyVersion)]
      fun (outputPath:string) targets projects ->            
              MSBuild outputPath targets properties projects
  
  