I have recently upgraded my .Net 3.5 solution containing some C# code projects and a ASP.net web site project to VS2010 (from VS2008). It is building and running fine inside VS, but I get some problems when trying to build it on my server with MSBuild 4.0 via TeamCity. It seems like the projects that are referenced from the web site are not built. This was all working fine before I upgraded to VS2010, MSbuild 4.0 and Windows SDK 7.1.Inside the msbuild script that I use to build from teamcity I have defined project references for the web site like this:\[code\] <ProjectReference Include="..\src\trunk\DataAccess\DataAccess.csproj"> <Project>{C43242F4-7286-4BEC-9A27-001D6FC14860}</Project> <Name>DataAccess</Name> </ProjectReference>\[/code\]When I try to run the build script I get an error message saying that it could not find the dll file when trying to copy it from the bin folder of the referenced project into the bin folder of the web site. This is happening because the referenced projects are in fact never built at all (No bin folder exists in the project dir).Does anyone have a clue what may cause this? I am not very experienced with MSbuild, so I may have overlooked some important stuff. Is it not so that MSbuild will automatically try to build the referenced projects if no project output is existing?Will be thankful for any help!