Good afternoon,
I’m having some trouble using the “Team Foundation Query Work Items” action. In summary, the WorkItemTracking dll in the Visual Studio 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. I deposited it in the FinalBuilder 7 folder, because Fusion suggested it wasn’t being picked up in the GAC, 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: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable 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
(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\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.