Changing Optimizely property return type yields MissingMethodException on getter
I was faced with a somewhat unexpected MissingMethodException changing a property type from string to XhtmlString while making changes to an Optimizely website for my current client. I’ve done this sort of change on mant occations, and moving from a string to an XhtmlString should not cause a problem. The exception seemed to be thrown on a simple Html.PropertyFor call in the view file. This …