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
Post a Comment