c# - Model is of different type than specified in using Statement MVC View -


i have renamed class mvcpatientlaboratoryresultsofinterestviewmodel mvcpatientbloodresultsviewmodel.

the problem follow, can seen in image. type of model in razor view, not correspond type declared in using statement. enter image description here

i following error:

the type or namespace name 'mvcpatientlaboratoryresultsofinterestviewmodel' not exist in namespace 'edr.presentation.webmain.viewmodels' (are missing assembly reference?)

i have cleaned solution, , tried rebuild, no success.

why happening?

just try reopen vs studio


Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

angular - Angular2 Router: Cannot find primary outlet to load 'HomeComponent' -

qt - Microsoft FTP Service 451 The parameter is incorrect -