Beat softened butter and powdered sugar in a bowl until smooth; stir in egg yolk and flour until dough forms.
Press dough into a 9-inch fluted tart pan; chill for 20 minutes, then bake at 350°F (175°C) for 18 minutes until pale golden.
Whisk sugar, cornstarch, milk, and vanilla extract in a saucepan over medium heat until thickened into custard.
Cool custard to room temperature, then spread evenly over cooled baked tart shell.
Arrange fresh raspberries tightly in concentric circles over vanilla cream.
Chill tart for 2 hours before slicing and serving cold.