I've been facing the next issue from quite a while now.
I'm starting with asp.net core 2.0 and vs code. I have installed VS Code 1.17.2, dotnet sdk 2.0 and C# extension 1.13.0 by omnisharp.
I created a mvc project runing dotnet new mvc. When I open vs code I'm getting a lot of error all over .cs files.
I'm able of build and run the application without any issue.
Also IntelliSense and debugging works. When I see the errors tab I notice the next error among a lot others:
The type 'TargetFrameworkAttribute' exists in both 'System.Runtime, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
I'm guessing I have some problem with my environment but I can't figure out what is. Any idea is appreciated.

