Solution for Visual Studio 2012 & TFS Problem: "The solution was offline during its previous session and will remain offline."

Here are the steps to solve this problem;

  • Go to registry editor.
  • Go to Computer\HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\TeamFoundation\Instances\xxx\Collections\XXX
  • Modify Offline DWORD value to 0.
  • Start your Visual Studio Project again and select OK button to connect to TFS server.


  1. You can just right click on your Solution in Solution Explorer and then select 'Go Online' from the popup context menu. This will also allow you to import any changes that were made to your files while they were offline.

    1. tried like 100 times didn't work for me...

      To change the value in registry worked for me thanks!

  2. Struggled for a day. Thank u so much , it worked :-)

  3. Worked for me. Thank you so much.


Post a Comment

Popular posts from this blog

Umbraco Notifications - Save and Send For Approval Process

Fix for "Websites cannot be started unless both the Windows Activation Service (WAS) and the World Wide Web Publishing Service (W3SVC) are running, Both services are currently stopped"

How to specify proxy credentials in web.config