I had this problem and are using VSTO together with the TFS after some hours of testing it looks like if you clean the cache on your machine it will work.
infopath /cache clearall
or delete directly files on your harddrive
See http://platinumdogs.wordpress.com/2008/02/07/clear-the-infopath-2007-local-form-template-cache/
or ...