as part of the continues integration process we want to download the last build form TFS online in order to execute automated tests locally.
Do you know if there is a way to download it automatically?
In the TFS ODATA SDK looks that there is not a way to do that. We are trying do it by coding, but deal with the live authentication is a problem and the alternative credentials do not seem an alternative to download the file once we have the URL path.
You will need to use the regular TFS .NET client object model in order to do that. I've posted info on using alternate credentials and some sample code at http://blogs.msdn.com/b/buckh/archive/2013/01/07/how-to-connect-to-tf-service-without-a-prompt-for-liveid-credentials.aspx.