# TFS2010 - building with shelvesets

**URL:** https://www.finalbuilder.com/forums/t/tfs2010-building-with-shelvesets/1828
**Category:** Discussion
**Created:** [August 18, 2011, 5:42am UTC](https://www.finalbuilder.com/forums/t/tfs2010-building-with-shelvesets/1828 "2011-08-18T05:42:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 18, 2011, 5:42am UTC](https://www.finalbuilder.com/forums/t/tfs2010-building-with-shelvesets/1828/1 "2011-08-18T05:42:19Z")

</div>

Hi

When creating a build which includes shelveset, the "Get Team Foundation Build Parameters" task does not work correctly. The log says the project does not appear to be running as part of a Team&nbsp;Foundation Build.

The log output:

&nbsp;&nbsp;&nbsp;&nbsp; [Get Team Foundation Build Parameters]  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This project does not appear to be running as part of a Team Foundation Build.

&nbsp;&nbsp;&nbsp;&nbsp; [Team Foundation Latest Version Number[&nbsp;]]  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ActionComment =   
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CustomActionName = Team Foundation Latest Version Number  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enabled = True  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EnableTimeout = False  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExpandActionLogTitle = True  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HideActionFromLog = False  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IgnoreFailure = False  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ImpersonateUser = False  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ImpersonateUserName =   
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LogActionProperties = True  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LogToVariable =   
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MaxRetryAttempts = 0  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PauseInterval = 0  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RetryPauseInterval = 1000  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SuppressStatusMessages = False  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TerminateOnTimeout = True  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TimeoutLength = 2  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Path to Executable: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\TF.exe  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Workspace Directory:   
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Command line: changeset /latest /noprompt

&nbsp;

Is it possible to run TFS&nbsp;Build with Shelvesets? If not, can this feature be added in the future?

&nbsp;

Thanks,  
Zvonko

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 19, 2011, 6:08am UTC](https://www.finalbuilder.com/forums/t/tfs2010-building-with-shelvesets/1828/2 "2011-08-19T06:08:02Z")

</div>

Hi,   
Can you give me a bit more info about your build process?   
  
I can successfully run a build after creating a shelveset, but I'm not sure what you mean when you say that the build 'includes shelvesets'. Do you mean that you're doing a gated check-in build? Or something else?   
  
Also, which version of FinalBuilder do you have installed on your TFS server, and which build process template are you using?   
  
Cheers,   
  
Ben

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 19, 2011, 8:00am UTC](https://www.finalbuilder.com/forums/t/tfs2010-building-with-shelvesets/1828/3 "2011-08-19T08:00:19Z")

</div>

I just queue build - but with shelvset included. Please see attached screenshot.

 ![001_screen.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/b/b04c59fe8743768dce9bf87c0540b5c336865360.jpeg)

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 19, 2011, 8:36am UTC](https://www.finalbuilder.com/forums/t/tfs2010-building-with-shelvesets/1828/4 "2011-08-19T08:36:31Z")

</div>

Hi,   
 That’s how I tested and it seems to work. Can you please let me know which version of FinalBuilder you have installed and which build process template are you using?   
  
 Cheers,   
  
 Ben
