why this problem always happened?

Hello,

So I basically have to generate project files every time I add a new file to my project through VS2022. So I do this alot. Yesterday I did it and it worked fine. Today I am getting this same error. So what exactly did I do wrong here? Why is it suddenly missing a dll?

I’ve updated VS2022 in as many ways as I know how and double checked all the packages on the setup page are installed. But it still gives me this error