Reputation: 6623
Whenever I open Visual Studio, it prompts me my TFS password, which i get successfully logged in too.
Now when i open my solution (which is mapped to TFS repository) - it should go online by default but it does not. Also "Go Online" button in Solution Explorer is not visible. When i right click a particular project - I don't see "Get Latest version, Specific Version" etc.
The only way out is unload any project and the reload it. There after every thing works good.
Also, every time i need to build a project manually if i make some changes in any particular file in that project. Although project is selected in configuration manager.
Upvotes: 1
Views: 4745
Reputation: 61
Right Click on the solution in Solution Explorer and select "Go Online". That should help.
Upvotes: 5
Reputation: 57952
Sounds odd. I'd start by getting a totally clean set of source code.
This will give you a clean copy of what is on the server, and it often fixes weird problems that can come about from corrupted information being cached somewhere in your source tree.
If that doesn't fix it, it may be a problem with your VS install or your TFS server setup, but those are just stab-in-the-dark guesses.
For the "not building when you make a change" problem, if it's not fixed by the above, check that the project is set to build in your project configuration, and check that the project dependencies look sensible (you may need to delete and re-add your references if there is a broken project reference in your project)
Upvotes: 0