In a large bowl, whisk together flour, baking soda, and salt. In a second bowl, with mixer on medium speed, beat sugar, butter, cream cheese, and lemon zest until smooth. Beat in eggs, one at a time, scraping side of bowl as needed and beat in vanilla. In two batches, beat in flour mixture until just combined. Fold in raspberries with a spatula.