razor - Assembly error while using Model in MVC4 view -


@using system.data.entity;  @model surveybuilderviewmodel.surveyviewmodel    @{     viewbag.title = "addquestions";     layout = "~/views/shared/_layout.cshtml";  }  @html.textboxfor(m => model.questionmodel.questionstatement); 

it gives me error

 type 'system.data.objects.dataclasses.entityobject' defined in assembly not referenced. must add reference assembly 'system.data.entity, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089' 

how can fix , doing wrong..????

i think problem pretty clear

you must add reference assembly 'system.data.entity, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089'

reference dll in project.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -