Preheat the oven to 350 degrees. Coat a 9-inch square baking pan with cooking spray.
Place the butter and sugar in a large bowl. Beat with a mixer until just combined.
Add the vanilla and mix on low.
Combine the flour and salt together.
With the mixer on low, slowly add the flour to the butter mixture, mixing until it almost comes together in a ball.
Turn the dough out on a board.
Lightly pat two-thirds of the dough evenly on the bottom of the prepared pan, about 1/4 inch up the sides.
Spread the jam evenly, leaving 1/4 inch border.
Sprinkle with the fresh raspberries.
Mix the granola and almonds into the remaining dough with your hands.
Break dough into small bits and distribute it on top of the jam.
Place into the oven and bake the bars for 45 minutes, or until lightly browned.
Remove from the oven and cool completely. Cut into 9 or 12 bars. Serve and enjoy.