# TFS Get Problem

**URL:** https://www.finalbuilder.com/forums/t/tfs-get-problem/540
**Category:** Discussion
**Created:** [July 26, 2007, 1:42am UTC](https://www.finalbuilder.com/forums/t/tfs-get-problem/540 "2007-07-26T01:42:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![swildermuth](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/swildermuth/32/64_2.png) [@swildermuth](https://www.finalbuilder.com/forums/u/swildermuth)
#### Post date: [July 26, 2007, 1:42am UTC](https://www.finalbuilder.com/forums/t/tfs-get-problem/540/1 "2007-07-26T01:42:40Z")

</div>

Does anyone have a good example of doing a "Get" with Final Builder and TFS?&nbsp; I keep getting "unable to determine workspace".&nbsp; I've tried creating the Workspace first (which works) but no matter what I do, Get is failing.&nbsp;

&nbsp;

TIA

&nbsp;

Shawn Wildermuth

Microsoft MVP (C#), Author and Speaker

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [July 26, 2007, 1:48am UTC](https://www.finalbuilder.com/forums/t/tfs-get-problem/540/2 "2007-07-26T01:48:21Z")

</div>

Hi Shawn,

Thanks for your post. Sorry to hear that you're experiencing problems.

The Team Foundation actions use the working directory (specified on the Files tab) to determine the workspace name. Are you creating the workspace to map to the same directory that you are doing the Get to?   
  
Regards,   
  
Angus

---

<div class="post-metadata">

### Author: ![swildermuth](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/swildermuth/32/64_2.png) [@swildermuth](https://www.finalbuilder.com/forums/u/swildermuth)
#### Post date: [July 26, 2007, 2:28am UTC](https://www.finalbuilder.com/forums/t/tfs-get-problem/540/3 "2007-07-26T02:28:00Z")

</div>

I did a “Create Workspace” TFS Tasks (successfully) and later tried adding “Set Working Directory” and it still didn’t work…   
  
 I’ll try again, but is there any example TFS FB Files that I could look at to see how people are successfully doing it?   
  
 BTW, the whitepaper discussing how to add FB into TFS is great, but you need another one for how to integrate with TFS better…it is not obvious (even to get this far).

---

<div class="post-metadata">

### Author: ![swildermuth](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/swildermuth/32/64_2.png) [@swildermuth](https://www.finalbuilder.com/forums/u/swildermuth)
#### Post date: [July 26, 2007, 2:38am UTC](https://www.finalbuilder.com/forums/t/tfs-get-problem/540/4 "2007-07-26T02:38:08Z")

</div>

I re-created everything and it seemed to work. The clue about the “working directory” I think was the trick…I think I was using the ‘default’ directory. Thanks for your help…

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [July 26, 2007, 3:08am UTC](https://www.finalbuilder.com/forums/t/tfs-get-problem/540/5 "2007-07-26T03:08:35Z")

</div>

Hi Shawn,

Thanks for the speedy reply. Workspaces have "owners", so is it possible this is a credentials issue? Is everything being done with the same credentials?

&nbsp;

I whipped up a demo project which creates, maps and then unmaps and deletes a temporary workspace in the same way TF Build does. I've attached it here, once we're sure it's working I'll make it part of FinalBuilder proper. Please let me know how you go (if you could post or email the log output, that would be great.)

&nbsp;

Regards,

Angus

[TFSourceControlDemo.fbz5](https://www.finalbuilder.com/forums/uploads/default/original/2X/b/b1eaa50983300477f7688bd7466256804f9f6e38.fbz5) (4.978 KB)
