I was updating this website and all of a sudden I start getting an error - "The View found at '~/Views/Home.cshtml' was not created" whenever I tried to browse the website. While searching for a solution, I came across different solutions that asks to update ModelBuilder's mode from PureLive to Dll in web.config, followed by few steps.
Below is the easiest and smartest way to fix this error without touching your web.config at all.
- Login to /Umbraco backend
- Go to Settings -> DocumentTypes ->Select your page's DocumentType (for which you are getting this error)
- Simply Save the DocumentType
This will generate necessary models class for your target model.
You may start using your website now.
Hope this helps.