visual studio error in error list keep showing

  • 52
  • 0

visual studio error in error list keep showing

In my case, there're some error in error list, and when I double click to open it, the errors disappear after the file is open.

But if I restart Visual Studio, the same errors show again.

 

After trying I find the reason, the errors show in project A, and A use some reference in project B. And .Net Framework Version of B is higher than A, so A cannot correctly reference B, and a triangle warning sign will show at the left side of B


 

after adjusting .Net Framework Version of B to same as A, all work successfully.