Mix the butter and sugar together in the bowl of an electric mixer fitted with a paddle attachment until they are just combined. Add the vanilla. In a medium bowl, sift together the flour and salt, then add them to the butter-and-sugar mixture. Mix on low speed until the dough starts to come together. Dump onto a surface dusted with flour and shape into a flat disk. Press the dough into a 10-inch-round or 9-inch-square false-bottom tart pan, making sure that the finished edge is flat. Chill until firm.
Meanwhile, preheat the oven to 350 degrees F.
Butter 1 side of a square of aluminum foil to fit inside the chilled tart and place it, buttered side down, on the pastry. Fill with beans or rice. Bake for 20 minutes. Remove the foil and beans, prick the tart all over with the tines of a fork, and bake again for 20 to 25 minutes more, or until lightly browned. Allow to cool to room temperature.