# Tfs2010

**URL:** https://www.finalbuilder.com/forums/t/tfs2010/1626
**Category:** Discussion
**Created:** [October 22, 2010, 12:44pm UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626 "2010-10-22T12:44:13Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![class-a](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/class-a/32/95_2.png) [@class-a](https://www.finalbuilder.com/forums/u/class-a)
#### Post date: [October 22, 2010, 12:44pm UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626/1 "2010-10-22T12:44:13Z")

</div>

Hi there,

I've upgraded to latest FinalBuilder and TFS2010 build templates on my local machine and the build machine. I'm using FinalBuilderBuild.xaml and FinalBuilder 7.0.0.787

However when running a build I&nbsp;now get the current error:

TF215097: An error occurred while initializing a build for build definition \Tellus.Core\Tellus.Core: Cannot set unknown member 'VSoftTechnologies.FinalBuilder.TFS.Workflow.FinalBuilder.CustomArguments'.

What's up with that?!&nbsp;

---

<div class="post-metadata">

### Author: ![class-a](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/class-a/32/95_2.png) [@class-a](https://www.finalbuilder.com/forums/u/class-a)
#### Post date: [October 22, 2010, 12:45pm UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626/2 "2010-10-22T12:45:25Z")

</div>

Oh, sorry, it started with BuildAgent, so I removed the reference from the build workflow (editing the xamlx with a text editor) and now it starts bugging about the custom arguments. So I guess there's something wrong with version, I just cannot figure out where. Is it me, my server or the setup.exe from FinalBuilder?

---

<div class="post-metadata">

### Author: ![utveckling](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/u/c6cbf5/32.png) [@utveckling](https://www.finalbuilder.com/forums/u/utveckling)
#### Post date: [October 22, 2010, 1:15am UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626/3 "2010-10-22T01:15:29Z")

</div>

&nbsp;I am getting the same error after upgrading FinalBuilder to the latest version. I have upgraded on the TFS server and on my laptop. I have also changed the build process template. Have you found out what is causing this error?

/Magnus

---

<div class="post-metadata">

### Author: ![class-a](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/class-a/32/95_2.png) [@class-a](https://www.finalbuilder.com/forums/u/class-a)
#### Post date: [October 22, 2010, 1:19am UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626/4 "2010-10-22T01:19:14Z")

</div>

@Magnus : I posted this 30 minutes earlier, no I haven’t figured it out yet! But since you have the same problem, I’m guessing it’s a bug (or missing feature or so) in FinalBuilder release.

---

<div class="post-metadata">

### Author: ![utveckling](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/u/c6cbf5/32.png) [@utveckling](https://www.finalbuilder.com/forums/u/utveckling)
#### Post date: [October 22, 2010, 1:27am UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626/5 "2010-10-22T01:27:43Z")

</div>

Ah, I see now that the post was quite new

---

<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: [October 22, 2010, 11:13am UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626/6 "2010-10-22T11:13:53Z")

</div>

Hi Guys   
  
 The custom arguments stuff is new and required changes to the template workflows… try diff’ing your xaml with the templates provided with the new build. You may also need to reboot as TFS tends to need this when updating assemblies that it loads. Also if your build agents are on a different machine don’t forget to install the new build of FinalBuilder on the build agent machines.

---

<div class="post-metadata">

### Author: ![utveckling](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/u/c6cbf5/32.png) [@utveckling](https://www.finalbuilder.com/forums/u/utveckling)
#### Post date: [October 24, 2010, 7:14am UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626/7 "2010-10-24T07:14:20Z")

</div>

&nbsp;I have now tried to restart our TFS server and I am getting a different error now:

Object reference not set to an instance of an object.

I have updated the&nbsp;FinalBuilderBuild.xaml that we are using and I have also tried to disable everything in my FinalBuilder script, but I am still getting the error.

I have noticed that the only two options I now have for FinalBuilder in the build process is Custom Arguments and Project File. Is this correct?

/Magnus

---

<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: [October 24, 2010, 10:27am UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626/8 "2010-10-24T10:27:38Z")

</div>

Hi Magnus,   
 Yes, Custom Arguments and Project File are the only options that you should see. Build Flavor and Platform are taken from the “items to build” data (see this thread: [https://www.finalbuilder.com/forum.aspx?aft=10221](https://www.finalbuilder.com/forum.aspx?aft=10221)).   
  
 “Object reference not set…” errors usually occur because a solution to build hasn’t been specified. You should get a “build definition incomplete” dialog when attempting to save the build definition if that’s the case.   
  
 It may be a bug related to changing where flavor and platform are specified - I’ll try and replicate it. In the mean time, can you please set the Logging Verbosity to ‘Diagnostic’ in your build definition, run the build and email the complete build log to support[at][finalbuilder.com](http://finalbuilder.com)?   
  
 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: [October 25, 2010, 12:02pm UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626/9 "2010-10-25T12:02:01Z")

</div>

The null reference error turned out to be a bug. It’s fixed in the latest test build, which you can download here: [https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700\_800.exe](https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_800.exe)   
  
 Please install it, restart the TFS build service, and let me know if the problem continues.   
  
 Cheers,   
  
 Ben

---

<div class="post-metadata">

### Author: ![class-a](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/class-a/32/95_2.png) [@class-a](https://www.finalbuilder.com/forums/u/class-a)
#### Post date: [October 25, 2010, 6:03am UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626/10 "2010-10-25T06:03:46Z")

</div>

Everything works fine here now. All&nbsp;&nbsp;"Get Team Foundation Build Paramters"&nbsp;are coming in and work fine!

And name of the service is&nbsp;"Visual Studio Team Foundation Build Service Host". After restarting it, it's working.

Thanks for the quick response and fixes, as usual!&nbsp;

---

<div class="post-metadata">

### Author: ![utveckling](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/u/c6cbf5/32.png) [@utveckling](https://www.finalbuilder.com/forums/u/utveckling)
#### Post date: [October 25, 2010, 6:19am UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626/11 "2010-10-25T06:19:22Z")

</div>

&nbsp;I can also confirm that it is working fine after upgrading to the latest version.

Thank you for the quick solution

/Magnus

---

<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: [October 26, 2010, 1:23am UTC](https://www.finalbuilder.com/forums/t/tfs2010/1626/12 "2010-10-26T01:23:54Z")

</div>

Thanks for letting us know that it worked guys.   
  
 FYI, you can restart the TFS build service through the TFS Admin Console, under Build Configuration (saves you hunting for the service in Services).   
  
 Ben
