Team 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:
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.
If you select Yes, then the solution will not related with TFS server, in the .sln file, there will have no the item: SccTeamFoundationServer = http://cathykong:8080/tfs/defaultcollection, when you go online, the solution will need to add the source control again, and not related with the Previous versions.
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
http://msdn.microsoft.com/en-us/library/cc667405(VS.90).aspx
No comments:
Post a Comment