This is similar to these 2 questions:
http://stackoverflow.com/questions/280559/how-to-get-cmd-line-build-command-for-vs-solution
When I build from Visual Studio 2008, the build succeeds. If I build from the command line using the MSBuild that comes with the .NET Framework 3.5 install, it normally fails. However if I use the Visual Studio 2008 Command Prompt that gets installed with VS2008 it succeeds. The answers (which I only partially understood) to the first two questions I linked to seem to be the reason why this fails from the command line. My question is specific to CruiseControl.NET. How can I apply their answers so that a CruiseControl.Net MSBuild task is always successful even after future changes as long as it builds correctly in VS 2008?
Thanks in advance for the help!