CC.NET and aspnet_compiler errorstack

96 views
Skip to first unread message

badfrog

unread,
Jun 23, 2009, 11:39:10 AM6/23/09
to ccnet-user
Greetings.

I've got a bunch of web site projects built using CC.NET plus msbuild
scripts that invoke the aspnet_compiler.exe utility. A few of these
recently started failing with just this showing up in the errors list:

errorMSB3073: The command "aspnet_compiler.exe -m /LM/W3SVC/1081590014/
root/Account -c -nologo" exited with code 1.

Long story short, after googling around, I discovered this is likely a
result of a malformed server-side tag in the aspx page, and the way to
tell is to pass an -errorstack switch to aspnet_compiler to get it to
report more detailed error messages. I rewrote my msbuild script to
include the switch, tested it out and verified that error messages
from aspnet_compiler.exe for the project in question were being
written to the console.

Here's the trouble. CC.NET doesn't report these errors in the build
report for the project. After a failure, the report still only
contains a message that aspnet_compiler.exe exited with code 1.

Is there a way to get this stuff to show up in the build results for a
project?

If not, I'm sure I could just redirect the output from the compiler to
a log file somewhere. Is there a way to link to an external file from
the build report, rather than requiring someone to look on a fileshare
or remote into the box and see what's broken?

Thanks.

Ruben Willems

unread,
Jun 23, 2009, 3:42:19 PM6/23/09
to ccnet...@googlegroups.com
Hi


first you have to check that the extra information is indeed saved,
open a build log file and search for it.
If it exists, you will need to update the xsl involved
compile.xsl found in the xsl subfolder of the webdashboard, and server folders

with kind regards
Ruben Willems
Reply all
Reply to author
Forward
0 new messages