VSTS 2005 – using TFS SDK to write code on my x64 box

I was trying to follow a source sample to obtain the VSTS project list, but got the following System.BadImageFormatException on the library file [ Microsoft.TeamFoundation.Client.dll ].

===== Exception =====

System.BadImageFormatException was unhandled
  Message=”Could not load file or assembly ‘Microsoft.TeamFoundation.Client, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. An attempt was made to load a program with an incorrect format.”
       at TfsApplication1.Program.Main(String[] args)
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

===== More findings ===== 

It appears that the library cannot be used on my x64 box, and the workaround is to change the target platform of my project to [ x86 platform ].

–> Right-click on the project

  –> Properties

    –> Build

      –> Platform target: x86

===== For more information =====

~ MSDN: How to: use the TFS SDK to write code


~ MSDN forum: BadImageFormatException on Microsoft.TeamFoundation.Client.dll


Visual Studio Team System webcasts between March and June 2007

Adam Gallant from Microsoft Canada listed a series of VSTS webcasts that will be held between March and June 2007.


Topics include:

~ Visual Studio Team System and MSDN licensing demystified

~ Integrated team development with Visual Studio Team System

~ Visual Studio Team Foundation Server

~ Visual Studio Team Edition for Database Professionals

~ Visual Studio Team Edition for Software Testers


===== For more information =====

– New VSTS webcasts



– Database Professional Team Center



– Software Tester Team Center



– Team Foundation Server Team Center



– Microsoft Visual Studio 2005 Team System Licensing White Paper


Microsoft Visual Studio 2005 Team Foundation Server Power Tool – February 2007 – v1.2

Team Foundation Power Tool (TFPT), formerly known as Team Foundation Power Toys, provides supplemental functionality for use with Microsoft Visual Studio 2005 Team Foundation Server.


Note: DSLTool for VS2005 will need to be installed first.


~ VSTS Process Editor is integrated inside Visual Studio for viewing and customizing Team Foundation process templates.

After installing Power Tool v1.2, the Process Editor menu item can be found inside the Visual Studio development environment after connecting to the Team Foundation Server, while the user guide “PEUserGuide.doc” of Process Editor can be found inside the Microsoft Team Foundation Power Tools program group. The user guide contains detailed instructions on how to use Process Editor.

[  >>  Visual Studio  >>  Team  >>  Process Editor  ]

[  >>  Start   >>   Program   >>   Microsoft Team Foundation Power Tools   >>   Microsoft Visual Studio Team System Process Editor   >>   PEUserGuide.doc  ]

~ TFPT installs these commands on the VSTS client computer: Unshelve, Rollback, Online, GetCS, UU, Annotate, Review, History, Workitem, Query, Treediff, Workspace, Treeclean. GUI is supported for some of the commands.


~ Custom check-in policies that comes with the TFPT application: custom path policy, forbidden patterns, changeset comments, work item query.


~ An MSBuild task is installed for customizing Team Foundation Build. The installed task “TestToolsTask” can be used to specify a test container as part of the build process (e.g., a DLL, a Web test, a load test), instead of using *.vsmdi files to specify tests to run.


~ Support for Windows Vista. (When you are uninstalling the old TFPT release on Vista, you will need to disable UAC, or use “msiexec /i tfpt.msi” in order to get rid of the error 1721.)


===== For more information =====

– DSLToolsRedist – Domain-Specific Language Tools for Visual Studio 2005 redistributable components




– Microsoft Visual Studio 2005 Team Foundation Server Power Tool (February 2007 – v1.2)



– VSTS command-line test execution



~ Cannot find Process Editor after installation of TFS Power Tool v1.2



– Team Foundation Server Power Toys forums



– Domain-specific language tools


Visual Studio Team System basics training – VPC image (5.2 GB)

A complete, self-paced training course with a VPC image containing Team System software is available for developers to download. You can get familiarize with Visual Studio Team System (VSTS) by downloading the 5.2 GB RAR files, extract the VPC image and training content (labs and demos), and access the VPC image using Virtual PC 2004 / 2007, or Virtual Server 2005.

The self-study course provides basics information on VSTS. There are 7 modules in this training: Overview, Team Foundation Administration, Architect, Developer, Tester, Project Manager, Team Explorer. Attendees can get a brief refresher and/or overview on VSTS, and understand the architecture and capabilities of both the client SKUs as well as Team Foundation Server (TFS).

(Note that the VPC image works correctly to a date of January 1, 2005, and you will need to ensure the host machine clocks are set to two weeks prior to the expiration date.)

===== For more information =====

– Visual Studio 2005 Team System basics training (Level 200)


Visual Studio 2005 Service Pack 1 (SP1) is released

Visual Studio 2005 Service Pack 1 (SP1) for Team Suite (Standard, Professional , Team Edition), Team Foundation Server, and Express Editions are available, and can be downloaded at { http://msdn.microsoft.com/vstudio/support/vs2005sp1



Visual Studio 2005 SP1 Update for Windows Vista Beta will also be available within a few days, while the final release is expected to be available at Q1 of 2007.


===== For more information =====


– Visual Studio 2005 Service Pack 1 (SP1)