Build trouble

Folks,

I have a project (ASP.NET with some DLLs) that needs to be built. My problem is this:

* trying to use the “Build VS.NET solution” fails if I uncheck the “Use MSBuild” checkbox - error code 2 (not very useful)

* with “Use MSBuild” checked, it appears to work, but it fails since MSBuild doesn’t know how to build database projects (it should just skip those!) and Setup projects (why? I mean they’re part of VS - why can’t MSBuild deal with those? odd…)

So I’m in a bit of a pickle here - using MSBuild builds my web app and DLL’s okay, but barfs at the database and setup project.

Not using MSBuild doesn’t work at all…

Also, trying to build the setup project later on, separately, not using MSBuild, also barfs - error code 2 again…

What’s up?
Marc