# TFS actions in FinalBuilder 8 not working

**URL:** https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581
**Category:** Discussion
**Created:** [November 17, 2017, 9:29am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581 "2017-11-17T09:29:46Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![garthbf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/77aa72/32.png) [@garthbf](https://www.finalbuilder.com/forums/u/garthbf)
#### Post date: [November 17, 2017, 9:29am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/1 "2017-11-17T09:29:46Z")

</div>

I have one machine that work fine and one that give this error.  
it can’t fine workitem.tracking. client ver 4.0.0.0. I have Visual studio 2013, 2015 and 2017 installed on both boxes.

 ![18051_log](https://www.finalbuilder.com/forums/uploads/default/original/2X/f/f68fccbf9818b405fdc66eebd522797c1e43c751.png)

---

<div class="post-metadata">

### Author: ![garthbf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/77aa72/32.png) [@garthbf](https://www.finalbuilder.com/forums/u/garthbf)
#### Post date: [November 17, 2017, 9:30am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/2 "2017-11-17T09:30:28Z")

</div>

also it looks like there is and older version of that dll in 4.0 folder under the finalbuilder 8 install path.

---

<div class="post-metadata">

### Author: ![garthbf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/77aa72/32.png) [@garthbf](https://www.finalbuilder.com/forums/u/garthbf)
#### Post date: [November 20, 2017, 4:14am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/3 "2017-11-20T04:14:07Z")

</div>

more info.   
 the machine that it does not work on has finalbuilder 8 installed after visual studio 17.   
 the config file has these values.   
  
  
  
  
  
 publicKeyToken=“b03f5f7f11d50a3a”   
 culture=“neutral” /\>   
   
 newVersion=“14.0.0.0”/\>   
  
  
   
 publicKeyToken=“b03f5f7f11d50a3a”   
 culture=“neutral” /\>   
   
 newVersion=“14.0.0.0”/\>   
  
  
   
 publicKeyToken=“b03f5f7f11d50a3a”   
 culture=“neutral” /\>   
   
 newVersion=“14.0.0.0”/\>   
  
  
   
 publicKeyToken=“b03f5f7f11d50a3a”   
 culture=“neutral” /\>   
   
 newVersion=“14.0.0.0”/\>   
  
  
 the machine that it works on has finalbuilder 8 installed after visual studio 15 and before 17.   
 the config on this machine has newVersion=“12.0.0.0”

---

<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: [November 20, 2017, 9:00am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/4 "2017-11-20T09:00:05Z")

</div>

I suspect this is an issue with the FinalBuilder8.exe.config file. The file is changed during install depending on which TFS xaml components are installed.   
  
 In the FinalBuilder 8 install folder, you will find :   
  
 FinalBuilder.exe.2008.config   
 FinalBuilder.exe.2010.config   
 FinalBuilder.exe.2012.config   
 FinalBuilder.exe.2013.config   
 FinalBuilder.exe.2015.config   
  
 Copy the FinalBuilder.exe.2013.config over the FinalBuilder8.exe.config file, that should solve the problem. The issue is that the TFS Assemblies are no longer GAC installed with VS2017 so FinalBuilder needs to use the assemblies from an earlier version.   
  
 It’s likely that we will solve this in the future by writing a new set of actions that use the rest api in the newer versions of TFS rather than use their client assemblies, or will ship the assemblies with FinalBuilder (or perhaps both).

---

<div class="post-metadata">

### Author: ![garthbf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/77aa72/32.png) [@garthbf](https://www.finalbuilder.com/forums/u/garthbf)
#### Post date: [November 20, 2017, 9:51am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/5 "2017-11-20T09:51:56Z")

</div>

I fixed this by doing GACUtil on all the DLLs in the C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer directory.

---

<div class="post-metadata">

### Author: ![garthbf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/77aa72/32.png) [@garthbf](https://www.finalbuilder.com/forums/u/garthbf)
#### Post date: [November 20, 2017, 9:55am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/6 "2017-11-20T09:55:46Z")

</div>

now the issue is I can’t get it to auth to VSTS on our build server, both XAML and new agent.   
 [Team Foundation Query Work Items ( [https://pbc-test.visualstudio.com/](https://pbc-test.visualstudio.com/) )]   
 Querying for work items…   
 Connecting to server ‘[https://pbc-test.visualstudio.com/](https://pbc-test.visualstudio.com/)’ using current credentials…   
 Authenticating…   
 Authentication failed : TF30063: You are not authorized to access [pbc-test.visualstudio.com](http://pbc-test.visualstudio.com)\pbc-test.   
  
 It works when I run the project local. I have used TFX-Cli to cache the PAT on both my local workstation and on the build server.

---

<div class="post-metadata">

### Author: ![garthbf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/77aa72/32.png) [@garthbf](https://www.finalbuilder.com/forums/u/garthbf)
#### Post date: [November 20, 2017, 9:57am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/7 "2017-11-20T09:57:42Z")

</div>

I have the action to use the cred in the options and that set to use current logged on user.

---

<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: [November 20, 2017, 10:11am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/8 "2017-11-20T10:11:45Z")

</div>

Does that work?

---

<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: [November 20, 2017, 10:14am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/9 "2017-11-20T10:14:14Z")

</div>

Our actions currently use the old client api’s in order to be compatible back to TFS2005. I guess it’s time to cut support for the older versions. What we will do is create new actions for TFS2015+ that use the new client api’s, which use rest under the hood and support PAT. This will take some time to get done (along with all the other tasks we currently have).

---

<div class="post-metadata">

### Author: ![heath1](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/ccd318/32.png) [@heath1](https://www.finalbuilder.com/forums/u/heath1)
#### Post date: [March 12, 2018, 2:55am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/10 "2018-03-12T02:55:31Z")

</div>

Hi Vincent,  
  
Any news on a fix for this in FinalBuilder 8?  
  
Our build machine is Windows 10 with only Visual Studio 2017 Pro installed. We’re currently unable to use the Team Foundation Query Work Items action.  
  
Regards,  
Heath

---

<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: [March 12, 2018, 8:55am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/11 "2018-03-12T08:55:38Z")

</div>

We are currently working on new actions that use the VSTS rest api. The query work items action is done but we are still working on the other ones.

---

<div class="post-metadata">

### Author: ![heath1](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/ccd318/32.png) [@heath1](https://www.finalbuilder.com/forums/u/heath1)
#### Post date: [March 13, 2018, 8:44am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/12 "2018-03-13T08:44:39Z")

</div>

> Posted By [Vincent Parrett](https://www.finalbuilder.com/user-profile/userid/5) on 12 Mar 2018 01:55 PM  
> We are currently working on new actions that use the VSTS rest api. The query work items action is done but we are still working on the other ones.

  
I'll be happy to test the new functionality in a pre-release build. ;-)

---

<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: [March 13, 2018, 11:58am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/13 "2018-03-13T11:58:50Z")

</div>

I’ll try and speed up the work on it. What version of TFS are you using (or is it VSTS)?

---

<div class="post-metadata">

### Author: ![heath1](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/ccd318/32.png) [@heath1](https://www.finalbuilder.com/forums/u/heath1)
#### Post date: [March 14, 2018, 12:15pm UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/14 "2018-03-14T12:15:27Z")

</div>

We’re using on-prem TFS 2018 Update 1.  
  
Regards,  
Heath

---

<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: [March 14, 2018, 12:55pm UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/15 "2018-03-14T12:55:12Z")

</div>

Thanks, I’ll make sure to test with that version once we’re done, currently developing against on prem TFS 2017, which will be the min version the new actions support.

---

<div class="post-metadata">

### Author: ![heath1](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/ccd318/32.png) [@heath1](https://www.finalbuilder.com/forums/u/heath1)
#### Post date: [June 7, 2018, 12:06pm UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/16 "2018-06-07T12:06:46Z")

</div>

> Thanks, I'll make sure to test with that version once we're done, currently developing against on prem TFS 2017, which will be the min version the new actions support.

   
  
 Hi Vincent,   
  
 Any change you can release just the TFS Query for 2017/2018 on-prem? I don't want to reinvent the wheel, but I'll wait a little longer if you have a timeframe in mind.   
  
 Regards,   
 Heath

---

<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: [June 7, 2018, 12:52pm UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/17 "2018-06-07T12:52:22Z")

</div>

Apologies for the delay, I’ve been juggling way too many tasks and haven’t done any work on them for a while. I had a look back through the commit history and it looks like the query and create workitems actions are done, and I was in the middle of working on the copy workitem action. I’ll take a look at them in the morning and try them against tfs2018 and vso, maybe I can get them into a build in the next few days.

---

<div class="post-metadata">

### Author: ![heath1](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/ccd318/32.png) [@heath1](https://www.finalbuilder.com/forums/u/heath1)
#### Post date: [June 7, 2018, 3:32am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/18 "2018-06-07T03:32:38Z")

</div>

> Posted By [Vincent Parrett](https://www.finalbuilder.com/user-profile/userid/5) on 07 Jun 2018 05:52 AM  
> Apologies for the delay, I've been juggling way too many tasks and haven't done any work on them for a while. I had a look back through the commit history and it looks like the query and create workitems actions are done, and I was in the middle of working on the copy workitem action. I'll take a look at them in the morning and try them against tfs2018 and vso, maybe I can get them into a build in the next few days.

As I mentioned previously, I'm happy to BETA test the functionality. We're planning to upgrade to TFS 2018 Update 2 on-prem, but I doubt anything will have changed to break what you're doing.

Regards,  
Heath

---

<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: [June 8, 2018, 9:37am UTC](https://www.finalbuilder.com/forums/t/tfs-actions-in-finalbuilder-8-not-working/2581/19 "2018-06-08T09:37:43Z")

</div>

Hi Garth/Heath   
  
 I have posted a new topic with a download link that includes these new VSTS actions.
