in fxcop-agent/src/jetbrains/buildServer/fxcop/agent/FxCopBuildService.java [49:68]
public void afterInitialized() throws RunBuildException {
super.afterInitialized();
try {
myOutputDirectory = FileUtil.createTempFile(getBuildTempDirectory(), "fxcop-output-", "", false);
if (!myOutputDirectory.mkdirs()) {
throw new RuntimeException("Unable to create temp output directory " + myOutputDirectory);
}
myXmlReportFile = new File(myOutputDirectory, FxCopConstants.OUTPUT_FILE);
myHtmlReportFile = new File(myOutputDirectory, FxCopConstants.REPORT_FILE);
} catch (IOException e) {
final String message = "Unable to create temporary file in " +
getBuildTempDirectory() + " for fxcop: " +
e.getMessage();
Logger.getInstance(getClass().getName()).error(message, e);
throw new RunBuildException(message);
}
}