Visual Studio 2017 Unexpected symbol '
So, I had 2 strange system crashes, say reboots. I tried to troubleshoot but I couldn't find any problems. Shortly after I entered VS 2017, did a little bit of work and it happens.
Mistake:
C: \ Users \ Shaky \ App Data \ Local \ Temp.NET Framework, Version = v 4. 5.2, Assembly Attributes.cs (1,1,1,1): CS error 1056: Unexpected character
Note that it doesn't say which character, it just says "".
And it repeats over and over again, like 202 times.
I had to separate the version numbers of the frames with space because it doesn't allow me to pass the file path due to bad grammar, I searched how to do it, didn't find it, this is my first post I think.
And it repeats over and over again, like 202 times.
source to share
According to https://lautzofdotnet.wordpress.com/tag/unexpected-character/ you need to do the following:
Navigate to the file in question in the Appdata \ temp folder and youll see at least the file (my case is .NETFramework, Version = 4.5.2.AssemblyAttributes.cs). I also had several other similar files for different versions of .NET.
Just remove them from the temp folder. When you recompile they will be restored, but I got no errors and everything works fine.
Note. The file can usually be found atC:\Users\\{userName}\AppData\Local\Temp
source to share