I\'m trying to create a ASP.NET Core MVC test app running on OSX using VS Code. I\'m getting a \'view not found\' exception when accessing the default Home/index (or any oth
FWIW, In our case we received this error when accessing localhost:
even though the View/GraphQL/Index.cshtml
was in the right place. We got the error because wwwroot/bundle.js
and wwwroot/style.js
was mistakenly not initially committed, since our .gitignore
included wwwroot
. Discovered it by inspecting the network traffic and seeing it was these files giving the 404 and not the Index.cshtml
itself.