Strange error: Unexpected character '£'

My build project has been working absolutely fine since I set it up, then today I checked in a change to a cs file, and suddenly I get this error:

: [Target "CoreCompile" in project "Printing.csproj"] Unexpected character '£'

I've opened the .csproj file in notepad, no '£' characters in the entire project file, any ideas why this has happened?

Building via VS2008 works fine, cleaning and getting fresh - no problem.

Argh!

4 comments

Hello,
What runner had failed?

What does diff contains for that file? How much files was reported by TeamCity
as changed?

Does byte order/xml encoding attribute march changed in project file?

Thank you!
--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

My build project has been working absolutely fine since I set it up,
then today I checked in a change to a cs file, and suddenly I get this
error:

: [Target "CoreCompile" in project "Printing.csproj"]
Unexpected character '£'

I've opened the .csproj file in notepad, no '£' characters in the
entire project file, any ideas why this has happened?

Building via VS2008 works fine, cleaning and getting fresh - no
problem.

Argh!



0

It was a VS2008 sln runner, diff shows the correct additions, effectively adding 3 lines of 100% safe code.

I'm not sure what: "byte order/xml encoding attribute march changed in project file" means? Checking the project files (diffing them) there is no difference...

0

Hello,

Could you please try running you build using pure msbuild.exe just on
the agent's working
directory. Please note to stop agent before that and clean sources for
that build configuration
on the agent before starting it again.

Just curious, are there any useages of '£' characted somewhere in that
project?

Thanks!
--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

It was a VS2008 sln runner, diff shows the correct additions,
effectively adding 3 lines of 100% safe code.

I'm not sure what: "byte order/xml encoding attribute march changed in
project file" means? Checking the project files (diffing them) there
is no difference...



0

Ok,

No uses of the '£' character anywhere in the code.
Msbuild appears to work ok, having said that the build has started to work again.
The only checkin difference between the last failure, and the next success was the addition of a comment to an unrelated file (in a separate project).

Curious...

0

Please sign in to leave a comment.