In TFS, I had to manually map the client libraries and websites to the local workspace and get the latest version for each of them.
I also had to manually update the project references, build the class libraries first and then build the website.
In any case, got it working somehow.