You can use the following code to connect to a Team Foundation Server using the built in Connect dialog and User Authentication dialog.

using Microsoft.TeamFoundation.Proxy;

DomainProjectPicker domainProjectPicker =
new DomainProjectPicker(DomainProjectPickerMode.None); 

//Options for DomainProjectPickerMode
// DomainProjectPickerMode.AllowMultiSelect;
// DomainProjectPickerMode.AllowProjectSelect;
// DomainProjectPickerMode.DisableServerSelect;
// DomainProjectPickerMode.ForwardWndMsgOutsideVS;
// DomainProjectPickerMode.None;

TeamFoundationServer tfs;
(domainProjectPicker.ShowDialog() == DialogResult.OK)
  tfs= domainProjectPicker.SelectedServer;
new UICredentialsProvider());


Saw this link to what looks like a cool app to get started with WinFX:  
Coding4Fun: Designing FreeCell using Expression and Visual Studio Toolsets

The article directed me to download the January CTP from the following link:
Windows Vista Developer Center: Welcome to the Windows Vista and WinFX Beta Page

  • WinFx RC – Microsoft Pre-Release Software WinFX Runtime Components – February Community Technology Preview (CTP) 
  • Visual Studio 2005 (I already had it installed)
  • Windows SDK – Microsoft® Windows® Software Development Kit (SDK) for the February 2006 Community Technology Preview (CTP) for Windows Vista and WinFX Runtime Components  

Everything downloaded and installed with no problems.  Opened the solution in Visual Studio and build… results in the following error message:’ is not a recognized namespace.

Apparently there has been changes in the namespaces since the January CTP… great…  after looking around for a while, I found this tool to convert the xmlns.

XamlMigrate – XamlMigrate is a tool to help convert xmlns uris in WPF XAML to the new xmlns uris in the Feb 2006 CTP.
After running this tool on the xaml files

   > xamlmigrate /mode:overwrite *.xaml

Everything builds and I am now playing FreeCell…. instead of walking through the code.

Oh the joy of Beta testing…


Time for me to finally start looking at WinFX…
Microsoft WinFX Developer Center

We have uploaded a new release of the Process Template Editor  (version PTE0.9.2263.536)
VSTS Customization Toolkit: Releases

Bug fixes only.