Visibility is not allowed for type Detection RegExp: Error (.*) set the visibility for a (.*) to Protected unless you are in a developer Resolution Update the visibility of {1} to "Public"