Symptoms
When you use Team Foundation Server (TFS) 2015 Update 2 in one of the following languages, the Build feature may not work:
-
Simplified Chinese
-
Traditional Chinese
-
Japanese
-
Korean
Additionally, an error that resembles the following is logged in the Build log file:
Invalid object other than ':' or '}' has been passed.
Resolution
To resolve this problem, follow these steps:
-
If you are not the TFS team project collection administrator, make sure that you have been added as an agent pool administrator. For more information, see Agent pools.
-
Download and extract the compressed (.zip) file from here.
-
On one of your TFS Application Tiers, open a PowerShell console, and then change the current location to the directory where you extracted the .zip file in step 2.
For example, run CD C:\TFS_2015_Update_2_Task_Updates. -
To verify that your execution policy allows for the execution of installation scripts, run the following command line:
Set-ExecutionPolicy Unrestricted -Scope Process -Force -
From a TFS Application Tier, run the installation script against your TFS collection, as follows:
\Install-TaskUpdate.ps1 -CollectionUrl http://myserver:8080/tfs/DefaultCollection
Note This update allows the Build feature to run in Simplified Chinese, Traditional Chinese, Japanese, and Korean. There is still a bug in which the console and logging may be missing encoding.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.