Isovector neutron-proton (np) pairing and particle-number fluctuation effects on the spectroscopic factors (SF) corresponding to one-pair like-particle transfer reactions in proton-rich even-even nuclei are studied. With this aim, expressions of the SF corresponding to two-neutron stripping and two-proton pick-up reactions, which take into account the isovector np pairing effect, are established within the generalized BCS approach, using a schematic definition proposed by Chasman. Expressions of the same SF which strictly conserve the particle number are also established within the Sharp-BCS (SBCS) discrete projection method. In both cases, it is shown that these expressions generalize those obtained when only the pairing between like particles is considered. First, the formalism is tested within the Richardson schematic model. Second, it is applied to study even-even proton-rich nuclei using the single-particle energies of a Woods-Saxon mean-field. In both cases, it is shown that the np pairing effect and the particle-number projection effect on the SF values are important, particularly in N =Z nuclei, and must then be taken into account.