Category Archives: 2896

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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. An attempt was made to load a program with an incorrect format.”
  StackTrace:
       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


http://msdn2.microsoft.com/en-us/library/bb286958(VS.80).aspx


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


http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=760600&SiteID=1

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


http://blogs.msdn.com/adamga/archive/2007/02/27/new-vsts-webcasts.aspx


 


- Database Professional Team Center


http://msdn2.microsoft.com/en-us/teamsystem/aa718764.aspx


 


- Software Tester Team Center


http://msdn2.microsoft.com/en-us/teamsystem/aa718941.aspx


 


- Team Foundation Server Team Center


http://msdn2.microsoft.com/en-us/teamsystem/aa718934.aspx 


 


- Microsoft Visual Studio 2005 Team System Licensing White Paper


http://www.microsoft.com/downloads/details.aspx?familyid=1FA86E00-F0A3-4290-9DA9-6E0378A3A3C5&displaylang=en 

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


http://go.microsoft.com/fwlink/?LinkId=82410


http://www.microsoft.com/downloads/details.aspx?familyid=693EE22D-4BB1-450D-835C-59EEBCB9F2AE&displaylang=en


 


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


http://www.microsoft.com/downloads/details.aspx?familyid=7324c3db-658d-441b-8522-689c557d0a79&displaylang=en


 


- VSTS command-line test execution


http://msdn2.microsoft.com/en-us/library/ms182486(VS.80).aspx


 


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


http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1268907&SiteID=1


 


- Team Foundation Server Power Toys forums


http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=930&SiteID=1


 


- Domain-specific language tools


http://msdn2.microsoft.com/en-us/vstudio/aa718368.aspx

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)


http://www.microsoft.com/downloads/details.aspx?familyid=527E2A17-1DEA-4D0B-9484-6AE43D00E570&displaylang=en

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)


http://msdn.microsoft.com/vstudio/support/vs2005sp1