For the chocolate dough, combine flour, sugar, salt, and cocoa.
Add the grated butter and crush with your hands. Add 1 tablespoon. a spoonful of cold water.
Collect the dough into a lump, wrap in plastic wrap, and put in the freezer for 30 minutes.
Mix cottage cheese with sugar, vanilla sugar, and egg. Add sour cream and grind into a homogeneous mass. Add semolina, mix well, and leave for 20 minutes.
Cover the baking dish with parchment, grease with a little oil. Put the curd mass into the mold. Put the cherries (pitted) on top of the cottage cheese, press in slightly.
Remove the dough from the freezer, grate on a coarse grater and distribute evenly over the curd mass.
Put the form in an oven heated to 180 degrees and bake for 1 hour. Then turn off the oven, and leave the cottage cheese casserole for another 10-15 minutes.
Delicious, tender, and fragrant cottage cheese casserole with cherries and the grated chocolate dough is ready. Sprinkle icing sugar on the casserole before serving.