Creating Nightly Build Problems

I'm trying to create a nightly build that is automated via a cmd script.
I'm calling the following command to build my solution:
devenv /build debug "solution.sln" /out "output.txt"

Now the problem I'm having is that I want to be able to somehow take the output of the build process and see if it succeeded/failed and if it failed what went wrong. For some unknown reason though, the /out command line switch doesn't actually seem to produce any output. I've intentionally added errors to my solution so that it should not compile, yet when I run the above command, it executes without producing any output at all.

I've also tried using
devenv /build debug "solution.sln" > output.txt
as suggested here:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=108275&SiteID=1
I've found however that no matter what I do I can't seem to get devenv to produce any output regarding what caused the build to fail.

If anyone could help me here with what I'm doing wrong, that would be really helpful.


Answer this question

Creating Nightly Build Problems