Technology, Smartphones, Games

Error CS1056 Unexpected character ' C# how to fix

I received an Error “  Unexpected character '  “n when I was developing an Android Application using Xamarin on Visual Studio. below is the complete error message

Severity    Code    Description    Project    File    Line    Suppression State
Error    CS1056    Unexpected character '    AAA.Android    Temp Path\MonoAndroid,Version=v8.0.AssemblyAttributes.cs    1    Active

At first I was not able to identify the issue. As the path of the file is to the Temp folder I just cleared my Temp folder and which solved the issue.

So go to C:\Users\UserName\AppData\Local\Temp\ and clear the data or remove the file specified in the error, that will solve the issue.