Posts Tagged ‘Team Foundation Server’

If you cannot see in VS 2010’s Solution Explorer the Icons from TFS (Team Foundation Server)

May 24, 2011

Problem:

5-24-2011 2-28-55 PMTeam Explorer can connect and shows the server and projects.  Source Control Explorer shows the source files and the state of check in/out.  But in Solution Explorer, there is nothing!  The red check marks are gone, the blue locks are gone.  Right click a solution or project or file and there are no source control options.

 

 

 

 

 

 

Solution:  http://social.msdn.microsoft.com/Forums/en/tfsgeneral/thread/58987d05-38d0-4056-82d7-f036adb7b2f3

5-24-2011 2-55-05 PM

When you try to connect to the TFS server and its offline then if you choose to still work on the solution you must eventually “Go Online” by right clicking the solution name in the Solution Explorer and select “Go Online”.

Change Source Control prompts: "The current solution is associated with source control but is offline.  Would you like to completely disassociate the solution from source control?" , because you did not perform the go online in Source Explorer.

When you right click the solution name in the Source Explore, can you select Go Online item? If you can, you can perform such as the check in/out operations.

Offline means if you cannot connect the TFS Server, you can also edit your solution, and when you connect the TFS Server, you can go online and perform the check in /check out.

There is a video about work offline with TFS, you can see: http://msdn.microsoft.com/en-us/vstudio/bb898913.aspx

For more information, you can refer to

http://blogs.msdn.com/b/benryan/archive/2007/12/12/when-and-how-does-my-solution-go-offline.aspx

http://msmvps.com/blogs/p3net/pages/tfs-2010-in-offline-mode.aspx

and

http://msdn.microsoft.com/en-us/library/cc667405(VS.90).aspx

Advertisements