Hi,
It may help to increase the build verbosity.
All you need to do is to go into the Tools->Options menu, and go to
Projects and Solutions->Build and Run and change the value of the
MSBuild project build output verbosity. You can pick between Quiet,
Minimal, Normal, Detailed and Diagnostic. I would recommend Normal.
http://blogs.msdn.com/msbuild/archive/2005/09/29/475157.aspx
Hope this helps.

Signature
Tod Birdsall, MCSD for .Net
software blog: http://tod1d.net
tlareywi - 20 Feb 2006 19:03 GMT
Tried increasing to diagnostic but this didn't provide any useful info. The
build succeeds without errors, there's just this exception afterward. In my
debug info window the exception is the following,
A first chance exception of type 'System.ArgumentException' occurred in
mscorlib.dll
Exception : Value does not fall within the expected range.