I recently updated to Update 1 of VS2015, using the Community Edition. Shortly after, I began work on a new project and as I was setting the solution up, I created two class library projects in my solution.
My first compile of a relatively empty project devoid of most code. I received hundreds of errors, all were similar to the following.
Unexpected character ' Trizbort-Tests C:\Users\Lautz\AppData\Local\Temp\.NETFramework,Version=v4.5.2.AssemblyAttributes.cs 1
I couldn’t find anyone with the same issue that had a solution, other than Uninstall VS and reinstall. Well that was not how I wanted to spend my evening.
What seems to be a simple solution, 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.