CodeAnalysis, Cloned Configurations and TFS Build 2010

Thursday, July 15, 2010 by Philipp Aumayr

In case you are stumbling across a problem where your build does not succeed because the result file for code analysis cannot be found (Unable to read Code Analysis output report. Make sure that the directory is writable (default is the project output directory) be sure to not have any <CodeAnalysisLogFile> entries in your project build files. As this KB entry states those entries are generated when cloning build configurations. To remove them, unload the project, manually remove the lines from the project file, reload the project. After you check in the file and start a new build things should be better. Note that there is an <CodeAnalysisLogFile> entry for every cloned configuration, so make sure you get all of them.

comments powered by Disqus

Philipp Aumayr

Philipp Aumayr

Senior Software Developer

profile for Philipp Aumayr at Stack Overflow, Q&A for professional and enthusiast programmers

Follow

Google+

Authors