Preheat your oven to 350°F (175°C) and grease a 9x13-inch baking dish.
Cut the bread into cubes and place half of the cubes in the bottom of the prepared baking dish.
In a mixing bowl, beat the softened cream cheese, granulated sugar, and vanilla extract until smooth and creamy.
Spread the cream cheese mixture over the bread cubes in the baking dish, then sprinkle the fresh raspberries on top.
Add the remaining bread cubes over the raspberry layer.
In another bowl, whisk together the eggs, milk, cinnamon, and salt until well combined. Pour this mixture evenly over the bread layers in the baking dish.
Press down gently on the bread to ensure it absorbs the egg mixture. Let it sit for 10-15 minutes to soak.
Bake in the preheated oven for 30-35 minutes, or until the top is golden brown and the casserole is set.
Allow to cool for a few minutes before dusting with powdered sugar, if desired. Serve warm.