Thursday, August 14, 2008

Saving your password and username in Visual Studio Team Explorer

I am using the Visual Studio Team Explorer to connect to the Codeplex Team Foundation Server (TFS). One of the things that annoys me is the fact that Team Explorer does not save your TFS credentials and then prompts you all the time with the window below whenever you reopen Visual Studio.



Although Team Explorer does not save your credentials, you can store your username and password for your TFS through your Windows XP/Vista account. To do that, go to Control Panel, User Accounts and select your account. Click on Manage network passwords link.

On the Stored User Names and Passwords window, click on Add to enter your credential information to be persisted.



Then, just enter the Team Foundation Server you are using, plus your username and password:



That is, Visual Studio Team Explorer will never prompt you again for these credentials since they are stored with your Windows user. The steps and screen shots above are for Windows XP, but they are very similar in Windows Vista.

2 comments:

Anonymous said...

thank you, i was exactly looking for this.

Ignacio said...

Thanks man, this is what I was looking for!

Spring Boot Configuration Properties Localization

Spring Boot allows to externalize application configuration by using properties files or YAML files. Spring Profiles  provide a way to segr...