So I had 2 weird system crashes, shall I say restarts. I tried to troubleshoot but i could\'t find any problem. Soon after I went into VS 2017 to practice a bit and this occ
As per https://lautzofdotnet.wordpress.com/tag/unexpected-character/ you need to do the following:
Browse to the file in question in the Appdata\temp folder and you’ll see at at least the file in question (my case .NETFramework,Version=4.5.2.AssemblyAttributes.cs). I also had a few other similar files for different .NET versions.
Just delete them out of the temp folder. When you recompile, they will get recreated, but I received no errors and all is working well.
Note: The file can usually be found in C:\Users\\{userName}\AppData\Local\Temp
This will also fix the problem if anyone encounters it in Xamarin forms for Android, delete the respective file (Example:"MonoAndroid,Version=v7.1.AssemblyAttributes.cs ") out of the temp folder