Unable to work with Team Foundation Server due to missing DLL

Problem

Although you’ve followed the configuration steps to integrate TestArchitect with Team Foundation Server properly, you encounter the following error message every time TA works with TFS, such as when uploading a TA test module. Could not continue the process: the library ‘Newtonsoft.Json’ is missing. Please install it, then try again. You can find more details in the help topic ‘Unable to work with Team Foundation Server due to missing DLL’.

Solution

Performing the following steps on the repository server machine will help resolve this issue:

  1. Download NuGet (nuget.exe), the package manager for the Microsoft development platform. (Learn more).

  2. Download the Json.NET package. (Learn more.)

    Important:
    For TFS 2013, 2015, 2015 Update 1, download Json.NET version #4.5.1.

  3. Install nuget.exe by doing the following:

    1. Bring up the Windows console window. The console window opens with a prompt displaying your current directory.

    2. On the console window, change the current directory into the location where nuget.exe is downloaded.

    3. Run the following command.

      nuget.exe
      
  4. Obtain the Newtonsoft.Json.dll library by running the following command.

    nuget install Newtonsoft.Json -Version 4.5.1
    
  5. Go to the location of NuGet , that is, {NUGET_DIR}\Newtonsoft.Json.4.5.1\lib\net40\Newtonsoft.Json.dll, and then copy Newtonsoft.Json.dll into the following location {INSTALL_DIR}\repository\plugins\tfs.

  6. Terminate the TfsHelper.exe process, if running.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400