Terkunci TCM.exe run /create error

  • 05 Juli 2012 3:49
     
     

    I am having some trouble using the tcm utility to start automated test runs (tcm.exe run /create)

    The command works on my Windows 7 machine with VS 2010 Ultimate installed, however when I run it on another windows 7 machine with VS 2010 Team Explorer installed I get an error:

    Could not load type 'Microsoft.TeamFoundation.TestManagement.Client.IdentityManagementServiceHelper' from assembly 'Microsoft.TeamFoundation.TestManagement.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

    I already tried re-installing VS2010 Team Explorer to no avail.

    Does anyone know what might be causing this and or how I might solve the problem? Thanks for your help.


    • Diedit oleh Xkebe 05 Juli 2012 3:54
    •  

Semua Balasan

  • 05 Juli 2012 10:10
     
     
    I believe this assembly ships with MTM and has nothing to do with Team Explorer. It should be installed in the "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies" folder. Sometimes it is enough to just add these folders to the path environment.

    My blog: blog.jessehouwing.nl

  • 05 Juli 2012 14:11
     
     Jawab

    The "Microsoft.TeamFoundation.TestManagement.Client.dll" assembly was in the PrivateAssemblies folder so it must have come with either VS Team Explorer or with the VS Test Agent/Controller.

    You did point me in the right direction though, I compared the product version of the dll on the two machines and found that the one that works has version "10.0.40219.346" and the one that does not had version "10.0.40219.1".

    A quick search led me to this hotfix (http://support.microsoft.com/kb/2581206) which when installed solved the problem!

    Thanks for your help!

    • Ditandai sebagai Jawaban oleh Xkebe 05 Juli 2012 14:11
    •