I am working on an existing Umbraco 8 project and seeing some very strange behaviour. I created a doctype via my localhost and it generated the doctype.generated.cs file added it to visual studio and everything was fine.
When it came to deploy the changes, I went into Model Builder regenerated the models, saw them appear in the folder, went to the page and got the error
The type or namespace named 'Blog' does not exist in the namespace 'Umbraco.Web.PublishedModels' (are you missing an assembly reference?)
I am running the model builder in AppData mode to a custom path so they are not hidden in the AppData folder.
I have tried restarting, changing the mode to PureLive and LiveAppData and still no joy
Any help would be greatly appreciated