sugar, egg, and vanilla until smooth. Set aside.
Step 3: Make the Cake Batter
In a medium bowl, whisk flour, baking powder, and salt. In a separate large bowl, cream butter and sugar until light and fluffy. Add eggs one at a time, then vanilla. Mix in sour cream. Slowly fold in dry ingredients. Gently stir in cranberries coated with flour.
Step 4: Layer the Cake
Spread half of the cake batter into the prepared loaf pan. Spoon the cream cheese filling evenly on top. Cover with remaining cake batter,