# Microsoft.TeamFoundation.WorkItemTracking.Client.dll reference issue

**URL:** https://www.finalbuilder.com/forums/t/microsoft-teamfoundation-workitemtracking-client-dll-reference-issue/2375
**Category:** Discussion
**Created:** [May 13, 2015, 5:20am UTC](https://www.finalbuilder.com/forums/t/microsoft-teamfoundation-workitemtracking-client-dll-reference-issue/2375 "2015-05-13T05:20:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nadsy](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c67d28/32.png) [@nadsy](https://www.finalbuilder.com/forums/u/nadsy)
#### Post date: [May 13, 2015, 5:20am UTC](https://www.finalbuilder.com/forums/t/microsoft-teamfoundation-workitemtracking-client-dll-reference-issue/2375/1 "2015-05-13T05:20:43Z")

</div>

Good afternoon,  
  
I’m having some trouble using the “Team Foundation Query Work Items” action. In summary, the WorkItemTracking dll in the Visual Studio&nbsp;v2.0 folder is a .NET 4.0 assembly. Has anyone come across this? I found something similar (about an FB installer issue), but that was to do with versioning of the dll in the config files. More details below.  
  
FB IDE Version: 7.0.0.3291  
Visual Studio 2013 Ultimate  
Windows Server 2012 R2 Standard  
  
The error I’m getting in FB is as follows:  
Could not load file or assembly ‘Microsoft.TeamFoundation.WorkItemTracking.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. This assembly is built by a **runtime newer than the currently loaded runtime** and cannot be loaded.  
  
I have checked, and the ‘Microsoft.TeamFoundation.WorkItemTracking.Client.dll’ file exists in C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ReferenceAssemblies\<strong\>v2.0.&nbsp;I deposited it in the FinalBuilder 7 folder, because Fusion suggested it wasn’t being picked up in the GAC,&nbsp;however ILDASM says the dll is a .NET 4.0.30319.   
  
I tried to attach the below as an attachment, but it wouldn’t let me:

```
***Assembly Binder Log Entry  (13/05/2015 @ 1:09:05 PM)***

The operation failed.  
Bind result: hr = 0x8013101b. No description available.

Assembly manager loaded from:&nbsp; C:\Windows\[Microsoft.NET](http://Microsoft.NET)\Framework\v2.0.50727\mscorwks.dll  
Running under executable&nbsp; C:\Program Files (x86)\FinalBuilder 7\FinalBuilder7.exe  
— A detailed error log follows.

=== Pre-bind state information ===  
LOG: UserName = _ **DELETED** _  
LOG: DisplayName = Microsoft.TeamFoundation.WorkItemTracking.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a  
&nbsp;(Fully-specified)  
LOG: Appbase = file:///C:/Program Files (x86)/FinalBuilder 7/  
LOG: Initial PrivatePath = ActionDefs\Assemblies\2.0  
LOG: Dynamic Base = NULL  
LOG: Cache Base = NULL  
LOG: AppName = NULL  
Calling assembly : TFWorkItems, Version=7.0.0.3291, Culture=neutral, PublicKeyToken=null.  
===  
LOG: This bind starts in default load context.  
LOG: Using application configuration file: C:\Program Files (x86)\FinalBuilder 7\FinalBuilder7.exe.Config  
LOG: Using machine configuration file from C:\Windows\[Microsoft.NET](http://Microsoft.NET)\Framework\v2.0.50727\config\machine.config.  
LOG: Redirect found in application configuration file: 10.0.0.0 redirected to 12.0.0.0.  
LOG: Post-policy reference: Microsoft.TeamFoundation.WorkItemTracking.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a  
LOG: GAC Lookup was unsuccessful.  
LOG: Attempting download of new URL file:///C:/Program Files (x86)/FinalBuilder 7/Microsoft.TeamFoundation.WorkItemTracking.Client.DLL.  
LOG: Assembly download was successful. Attempting setup of file: C:\Program Files (x86)\FinalBuilder 7\Microsoft.TeamFoundation.WorkItemTracking.Client.dll  
LOG: Entering run-from-source setup phase.  
ERR: Error extracting manifest import from file (hr = 0x8013101b).  
ERR: Failed to complete setup of assembly (hr = 0x8013101b). Probing terminated.
```

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [May 13, 2015, 5:33am UTC](https://www.finalbuilder.com/forums/t/microsoft-teamfoundation-workitemtracking-client-dll-reference-issue/2375/2 "2015-05-13T05:33:05Z")

</div>

Hi Nadaav   
  
 In the FinalBuilder Options, under FinalBuilder, .NET Framework version, make sure v4.0 is selected and then restart. That is the version of the CLR that FinalBuilder hosts, I suspect it’s set to v2.0 at the moment (the default in FB8 will be 4.0).

---

<div class="post-metadata">

### Author: ![nadsy](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c67d28/32.png) [@nadsy](https://www.finalbuilder.com/forums/u/nadsy)
#### Post date: [May 13, 2015, 11:56am UTC](https://www.finalbuilder.com/forums/t/microsoft-teamfoundation-workitemtracking-client-dll-reference-issue/2375/3 "2015-05-13T11:56:10Z")

</div>

Thanks Vincent,   
  
 That’s great. I had this set to v3.5, because (due to my lack of understanding), all our .NET projects are v3.5, and I wasn’t sure how it all interacted. I thought maybe I can find an older version of the work item tracking dll, but it’s all working after your suggestion.   
  
 Thanks again, and I hope you’re well.   
  
 Nadaav.
