Maybe some day I'll help someone) So in my case problem was in VS 2022 new update that I installed. I had build error exactly in terminal, not in VS. I've tried to roll back an VS update and its helped.