Preheat oven to 395°F (200°C) and line a baking sheet with parchment paper.
Mix raspberries with cornstarch, sugar, and lemon juice. Set aside.
In a bowl, combine cream cheese, sugar, vanilla, and milk until smooth.
Roll puff pastry into a 9x11-inch rectangle and cut into 6 equal pieces.
Place on baking sheet and lightly score a border inside each piece.
Spread cream cheese filling inside each rectangle.
Add a layer of raspberry filling on top.
Beat egg with a little water and brush edges of pastry.
Bake for 17–20 minutes until golden brown.
Let cool slightly.
Mix icing ingredients and drizzle over pastries.
This Easy Raspberry Cream Cheese Danish is best served slightly warm with fresh icing.