I have little experience with .NET, and I had the same problem with System.Runtime.CompilerServices.ExtensionAttribute .
Solution: Remove the project links, the link to Framework 4.5, because in my case, since I did not install this Framework.
giaco source share