Preheat oven to 350. Lightly grease a 9 X 13 or 11 X 11 pan.
For crust, in a medium bowl, whisk together flour, sugars, and salt. Add the flavorings, then use your fingers, a pastry blender, or a mixer to cut in the butter, mixing until everything is crumbly. Stir in the nuts. Set aside about 1 1/2 cups of crumbs, then press the remaining crumbs into the bottom of the prepared pan. Bake the crust for 15 minutes.
To make the filling, in a food processor, combine the cranberries, apples, raspberries and sugar and pulse a few times to chop the cranberries. Add the flour and melted butter, pulsing briefly to combine.
Spread the filling over the crust. Crumble the reserved crust mixture over the filling. Bake for 35 to 40 minutes, until the mixture bubbles and the crumbs on top are golden. Remove from oven and cool completely. Dust with powdered sugar and cut into bars.