I have a variable in my TeamCity build that looks like this 3.12.2323.0 when I attempt to parse this variable as a string it fails. here is my code: 

```
$versionNumber = %build.version.major%.%build.version.minor%.%build.counter%."0"

```

I've also tried 

```
$versionNumber = %build.version.major%+%build.version.minor%+%build.counter%+"0"

```

my error is:

```none
Unexpected token '.1682' in expression or statement.
[19:40:18][Step 2/2] At line:1 char:27
[19:40:18][Step 2/2] + $versionNumber = 3.13.1682 <<<< ."0"
[19:40:18][Step 2/2]     + CategoryInfo          : ParserError: (.1682:String) [], ParentContainsErrorRecordException
[19:40:18][Step 2/2]     + FullyQualifiedErrorId : UnexpectedToken
[19:40:18][Step 2/2]  

```