Preheat the oven to 375F and line a large baking sheet with parchment paper.
In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
Using a stand mixer or hand mixer and large bowl, cream the butter, sugar, and cream cheese for cream on medium speed for 5 minutes or until light and fluffy.
Add the egg and extracts. Using a spatula, scrape the sides of the bowl to incorporate the film of butter and sugar that has collected on the sides. Beat on medium speed until the egg is fully incorporated.
Add the flour to the butter-sugar mixture. Mix on medium speed until a thick, smooth dough is formed. *Make sure to stop and scrape the flour from the sides of the bowl as needed
Using a cookie scoop or tablespoon, scoop 1 tablespoon of dough and roll into a ball.
Using the bottom of a jar or glass, flatten the ball of dough to ¼-inch thickness. *Lightly coat the jar or glass with cooking spray to prevent the dough from sticking.
Place the baking sheet in the oven and bake for 8 to 9 minutes, or until the cookie edges are light gold.
Remove the baking sheet from the oven and allow the cookies to rest for 5 minutes before transferring to the cooling rack.
Once cooled frost the cookies using the recipe below.
To make the frosting:
In a medium bowl of a stand mixer, cream butter, cream cheese, and vanilla.
Reducing mixer speed, slowly add in the raspberries, powdered sugar, and milk. Mix until the raspberries are completely incorporated and the frosting is smooth and pink.
If frosting seems too thick, add an additional teaspoon of milk until frosting reaches desired consistency.
Frost cookies once they have cooled completely.
Refrigerate any remaining frosting in an airtight container for up to a week.