How to: Get a detailed analysis log file in SPCAF Build?

This article will explain how to to get detailed analysis logs for SPCAF Build.

To get a log file with more information about the analysis process, you have to set the parameter "LogFile" of the TFS build activity.

You can provide the path to a log file with this parameter. e.g.

System.IO.Path.Combine(BinariesDirectory, "SPCAFResults\spcaf.log").

In the XAML code of the build definition, this would look like:

LogFile="[System.IO.Path.Combine(BinariesDirectory, "SPCAFResults\spcaf.log")]" .

See also

How to runs SPCAF in a TFS/VSO TeamBuild?