I had my solution in Visual Studio 2012 (which is under TFS source control) open and the TFS server (2010) was down. When I then made a change to one of the files and attemp
Go to File > Source Control > Go Online, select the files you changed, and finish the process.
File > Source Control > Go Online