123The present invention relates to compounds of formula (I) wherein R Rand Rare as described herein and their prodrugs or pharmaceutically acceptable salt enantiomer or diastereomer thereof and compositions including the compounds and methods of using the compounds as TLR7 agonists for the treatment and prophylaxis of virus infections.