Preheat the oven to 350 degrees F.
In the bowl of an electric mixer fitted with the paddle attachment, mix together the butter and sugar 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. Wrap in plastic and chill for 30 minutes.
Roll the dough 1/4-inch thick and cut 2 3/4-inch rounds with a plain or fluted cutter. With 1/2 of the rounds, cut a hole from the middle of each round with a heart or spade shaped cutter. Place all the cookies on an ungreased baking sheet and chill for 15 minutes.
Bake the cookies for 20 to 25 minutes, until the edges begin to brown. Allow to cool to room temperature. Spread raspberry preserves on the flat side of each solid cookie. Dust the top of the cut-out cookies with confectioners' sugar and press the flat sides together, with the raspberry preserves in the middle and the confectioners' sugar on the top.
Copyright 1999, The Barefoot Contessa Cookbook, All Rights Reserved