Lately we were getting partial builds (orange) on our TFS build agent, which is quite annoying. You don’t have a broken (red) build, but it’s not a succesfull one (green) either so you’re bothered with it. On the positive side, the build still did complete and our NuGet packages were being pushed to our internal package source.
We’ve had issues with the Multilingual App Toolkit (MAT) on our build agent before, but after some tinkering it seemed like this one we couldn’t fix ourselves. No matter if we checked in the latest generated xlf files or not, we were always getting following build error messages:
C:\Program Files (x86)\MSBuild\Microsoft\Multilingual App Toolkit\v3.0\Microsoft.Multilingual.PriResources.targets (35): MultilingualResources\***_qps-ploc.xlf is not synchronized with the projects checked in resource file. To correct this error, run a build on the local client and check in any updated XLF files.
C:\Program Files (x86)\MSBuild\Microsoft\Multilingual App Toolkit\v3.0\Microsoft.Multilingual.PriResources.targets (35): Update XLIFF build failed.
C:\Program Files (x86)\MSBuild\Microsoft\Multilingual App Toolkit\v3.0\Microsoft.Multilingual.PriResources.targets (35): Multilingual App Toolkit build completed with errors.
Luckily the problem is fixed with the latest MAT 3.1 release from yesterday. Our builds are green again!