Issue with missing reference to Examine dll in compiled razor code

To fix issues with at maximum 7.0.4 issue could exist before this. Something do do with needing a reference to examine