You can make this a day ahead and keep it in the fridge.
In the bowl of a stand mixer fitted with a paddle, beat butter on medium speed until creamy.
Add the sugar, all at once and beat on medium speed until creamy and combined.
Scrape down the sides of the bowl and add the egg and egg yolk, one at the time, mix well after each one.
Add the flour and salt and mix on medium speed until the dough comes together.
Put it in a plastic film and refrigerate for at least 2 hours or overnight.
Preheat the oven to 350F (180C).
Roll the dough between two pieces of parchment paper until it's about 1/4 inch (6 mm) thick.
Press the dough onto the bottom and edges of a 7-inch (18cm) tart pan. Cut the excess dough. Prick it all over with a fork. Refrigerate for 15 minutes before baking.
Cover the dough (bottom and edges) with parchment paper. Fill the center with pie weights or beans.
Bake for 15-20 minutes until firm. When the top edges are turning gold evenly, it means the tart shell is done.
Let it cool on a rack.