Showing posts with label Team Foundation Server. Show all posts
Showing posts with label Team Foundation Server. Show all posts

Monday, November 11, 2013

How to change the Team Foundation Server Windows account logon credentials used by Visual Studio?

For test purposes i wanted to logon to Team Foundation Server from Visual Studio using a different user account.

In German:
Benutzerkonto / Zugangsdaten für Team Foundation Server Anmeldung in Visual Studio ändern:

How-I-fixed-it:
You find the saved logon credentials in user account Management in System control under
"Windows Credential Manager", in German: "Anmeldeinformationsverwaltung".

Under "Windows Logon Information" look for the Name of the Team Foundation Server, expand the entry and use "Edit" to Change to logon information.
If you want Visual Studio to prompt you for the credentials again, just delete the entry.

Wednesday, June 26, 2013

How to have different local web.config settings for a Visual Studio ASP.NET C# Web TFS Project?

Today we started an ASP.NET C# Project under VisualStudio 2012 using Team Foundation Server. We ran into the problem that we need to store some local path settings in the web.config file, but they are different on every developers computer.

How-I-fixed-it:
The solution is, to split the web.config up into several files and just reference the files using the configSource="sectionName.config" Attribute in the corresponding section in the web.config. Don't add these local files to the project, to not get them overwritten by each other.

Here's a sample:

web.config:
<applicationSettings>

<KCM.Properties.Settings configSource="KCM.Properties.Settings.config" />

</applicationSettings>

KCM.Properties.Settings.config:

xml version="1.0" encoding="utf-8" ?>

<KCM.Properties.Settings>

<setting name="DataStoragePath" serializeAs="String">

<value>D:\inetpub\ftproot\</value>

</setting>

</KCM.Properties.Settings>

Here i found the right information to get the solution:




Friday, June 21, 2013

Where can i find a free hosted Team Foundation Server Service?

I was looking for a free hosted service of Microsoft Team Foundation Server to have version control for my Visual Studio software projects.

I found out, that Microsoft itself offers a free plan for up to 5 users under: http://tfs.visualstudio.com/

What it (currently) includes :

·         Up to 5 users

·         Unlimited number of projects

·         Version control (TFVC or Git)

·         Work item tracking

·         Agile planning tools

·         Virtual team rooms

·         Build (still in preview)

·         Test management (still in preview)