I created my project, I have been editing every day, and recently from scratch it failed to recognize an existing namespace

0

I created my project in Visual Studio 2013, I have been editing every day, and recently it has stopped recognizing an existing namespace.

The namespace appears in red with the message "The type or namespace 'Models' does not exist in namespace 'Project.Models'

However when running my project everything runs normally, even though this error appears in the Error List. It seems to be a Visual Studio bug, on another computer I opened the project and ran it normally!

    
asked by anonymous 16.06.2016 / 20:29

1 answer

0

Right-click the project in properties and verify that the Default namespace is correct, check references to this project as well, remove and refer back.

    
21.06.2016 / 20:42