Transform your favorite layer cake into an easy carrot cake bar recipe. Don't skimp on the cream cheese frosting.
Preheat oven to 350º.
Coat an 8-inch baking pan with cooking spray. Set aside.
Combine flour and next 5 ingredients (through salt) in a large bowl, stirring with a whisk.
Beat together sugar, yogurt, oil, and egg in a large bowl. Stir in the carrot and pineapple. Mix with dry ingredients. Fold in pecans.
Spoon batter into pan. Bake 25 minutes, or until a toothpick inserted in the center comes out clean. Cool.
Beat cream cheese in a medium bowl. Add lemon juice. Beat in powdered sugar. Spread frosting over cake. Cut into 12 squares.