The How I Met Your Mother star soaks in the sun with his little one while vacationing in Saint-Tropez.