TFS 2010 build gives Error: Cannot find the current label

Hi,

Under certain circumstances I get the error "Error: Cannot find the current label" when running FB via TFS 2010.

To reproduce:

1. Create a NEW build definition in TFS. Make sure to set "Label Sources=False" and "Associate Changesets and Work items=False".

2. Run a build from the definition  ---> No error

3. Change the build definition so the two options above are True

4. Run a build from the definition  ---> No error

5. Change the build definition so the two options above are False again

6. Run a build from the definition ---> Error: Cannot find the current label

 

In other words once you have used "Label Sources" on a definition you cannot "go back". I am not sure the "Associate Changesets..." option is actually relevant...

 

br Lars

Hi Lars,
I can reproduce this here, but as yet I have no idea what’s causing it. I’ll look into it and let you know.

Cheers,

Ben

Hi Lars,
I’ve uploaded a build with the fix: https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_1050.exe

Can you please test it and let me know how you go?

Please note, the XAML files will need to be updated as described here: https://www.finalbuilder.com/articles.aspx?ID=43

Cheers,

Ben

Hi Ben,

Downloaded, installed and tested. Works like a charm.

As usual outstanding support :-)

Glad it’s working - thanks for getting back to me.

Ben