Error CS1525: Unexpected character

I use:

Xamarin 5.8.3 (build 1)
Xcode 6.3.1

      

Having the above error on this line:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

      

In one of my .xib.

Mistake:

Error CS1525: Unexpected symbol `<' (CS1525)

      

Any idea where this weird bug / error comes from?

Thank you in advance

+3


source to share


1 answer


You are trying to compile .xib source code as C #.

It won't work.



Right-click the file in Solution Explorer and select Build Action

InterfaceDefinition

.

+1


source







All Articles