I have started a new console project in VS2015. I only have this code :
using System; using System.Collections.Generic; using System.Linq; using System.Text
How I fixed my issue, I closed project that had that error , created new project build new project then opened the project that had an issue and build it. That worked for me.