TFS 2010 Build ‘Partially Succeeded’ (Failed) without reporting any error
It sounds very strange when a build fails without giving any error. Recently while working with TFS 2010 build, I came across same kind of scenario. It took my lot of time to locate the exact cause of error. But finally, I succeeding in locating it.
Here is how summary report looks like for such a build. Showing no error at all. Still failed. Check-ins rejected. Very Bad.
Now, I thought of exploring detailed build log and look for a keyword ‘Error’. That worked and I found the error. That error was actually in Unit Test Run. As following image shows all tests have passed but still some error is reported by MSTest.
Now, I went back to the summary page to open unit test run results.
Here, highlighted section on test results window show that some other error occurred as all unit tests passed. So, I intuitively clicked that link and located the exact cause of the error.
So, that helped me to answer the strange question i started with.



