Preheat oven to 350°.
Lightly spoon flour into dry measuring cups; level with a knife. Combine flour and salt, stirring with a whisk.
Combine butter, brown sugar, 1 teaspoon vanilla, and eggs in a medium bowl, stirring with a whisk until smooth. Add flour mixture to butter mixture; stir just until moist.
Place 1/2 teaspoon vanilla, granulated sugar, and next 4 ingredients (through cream cheese) in a large bowl; beat with a mixer at high speed until fluffy.
Line a 13 x 9-inch baking pan with foil that extends 1 inch beyond sides; coat foil with cooking spray. Spread half of batter into pan. Pour cream cheese mixture over batter in pan, and spread evenly over batter. Sprinkle with raspberries. Drop remaining batter by tablespoonfuls over raspberries. Swirl batter, cream cheese mixture, and raspberries together with a knife.
Bake at 350° for 35 minutes or until a wooden pick inserted in center comes out clean. Cool completely on wire rack. Remove from pan by lifting foil. Remove foil; cut into 30 bar cookies.