Parser Error Message: Could not load type ‘sometype’

Try replacing CodeBehind with CodeFile