I have an ASP.NET MVC project and when I open any *.cshtml file I get a lot of bugs. Something like that:

Error CS0246 The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)

It's not real bugs because my application works fine and all necessary libs are imported. I suppose it is an error in cshtml-files parser. This bug is not critical but it creates inconvenience for me when I work with views. I use Visual Studio 2015 Update 3 and ASP.NET MVC 5. How could I solve this problem? Thank you in advance

Related posts

Recent Viewed