I usually use web applications in Visual Studio and the MSBUILD taks in Nant builds them without any problems:
<msbuild project="MySolution.sln">
arg value="/property:Configuration=release" />
</msbuild>
I now have a website (not a web application) in a VS Solution and it won't build - I get a lot of namespace errors.
Should I be able to build the solution with MSBUILD even though it contains a website? Or do I need to use CSC?