Visual Studio 2008 with Service Pack 1

build page - failed; It found errors

build web site - could not find errors; It was successfully built, but there really were errors inside the codes.

Is it a bug ?