Has anyone experienced an issue which the view could not load a type from the assembly since you've moved the type to a different namespace on the same assembly? The only resolution for this is for me to add a new line on the view to detect the change.
Example:
Assembly: MyProject
Initial: MyProject.View.SomeViewMode, MyProject
View: _SomeView
Moving SomeViewModel to a different folder
Assembly: MyProject
Moved: MyProject.ViewModel.SomeViewModel, MyProject
View: _SomeView
Error Encountered (Could not load type MyProject.View.SomeViewModel from assembly MyProject)
Resolution: add a new line to _SomeView
Model declaration: @model SomeViewModel
Web.config
system.web.webPages.razor
namespace:MyProject.ViewModel
Do you have other resolution for this issue? Thanks for all your help