I had the same issue except removing and adding the reference back did not fix the error, so I changed .Net version from 4.5
to 4.5.1
.
To achieve this go to your web.config
file and change the following lines
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
to this
<compilation debug="true" targetFramework="4.5.1" />
<httpRuntime targetFramework="4.5.1" />
and rebuild.