razor compilation detection.