I have an existing TFS project that has a structure similar to this :
I created a solu
If these errors are when you're building using Team Build, check your build definition and make sure that the "framework" folder is included in the buidl workspace. You should also make sure that the relative paths in the build workspace are the same as your local machine.
To chech the build definition workspace right click on the build definition in team explorer and select "Edit build definition" then select the workspace tab. This will show the mappings between the folders in TFS and what the build pulls down to the build server