Building utf-16 project files

I am using team City 5.0.1 (build 10715) and I have several csproj files set as utf-16 they build fine under Visual studio 2008 and msbuild but when I run them on a team city agent I get the following error "error MSB4025: The project file could not be loaded. There is no Unicode byte order mark. Cannot switch to Unicode." Is there some configuration I am missing to the build agents? What am I missing?

2 comments

Hello Christiaan,

  If you use Perforce VCS, please install TeamCity 5.0.2 - in this version we've fixed the problem with UTF-16 files checkout.
  Corresponding issue in our tracker is http://youtrack.jetbrains.net/issue/TW-7381

  Regards,
  KIR

0

Please sign in to leave a comment.