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.