Mathias Olausson

:: thoughts on Visual Studio Team System and more...

Issue with Team Build 2010 Beta 2 (on some localized machines): 'Value cannot be null. Parameter name: path1'

I got this strange litte error a while back when I tried to run a newly created build definition: “Value cannot be null. Parameter name: path1”. Not much to go on in that message…

clip_image002

My configuration is a Windows 7 x64 and VS 2010 Beta 2 Ultimate with TFS Basic running locally. Build controller and agent is also running locally. First I thought this was a problem related to my x64 OS. But after testing this on a different box running x86 and getting the same result that obviously wasn’t it.

So after getting some great help from the product team it turned out to be an issue with a registry value that was affected by the current regional settings for the decimal separator. In Sweden we use comma (,) instead of th US-default period (.) and that’s what caused this error to occur.

So to solve this problem you can simply change the regional settings for the build agent to use period instead of your normal symbol.

Another option is to use an updated build template xaml file, which can be found here.

Posted: Mon, Nov 23 2009 23:00 by Mathias | with 1 comment(s)
Filed under: ,

Comments

Mathias Olausson said:

A few weeks ago I posted about some issues I’ve had with Team Build on TFS 2010 beta 2 ( http://msmvps

# December 20, 2009 2:37 AM