I am encountering a problem with my Visual Studio Community 2022 instance.
Let me first state that it is not a problem with my code itself: on another machine VS compiles it properly – and on the machine I have a problem with, all projects are subject to this bug.
What happens is the following: whenever I start building a project, I see the message "Build started":
But then this idles forever, I do not get any error message, no response at all. I do have in the bottom bar an icon indicating the build is supposedly running, however the bottom left says Ready.
Another thing, if I use msbuild from terminal to build my project, it works like a charm.
I have an environment variable set up with name "CL" and value "/Zm500" that I put at some point because I tried to fix an out of memory execption, but I have it deleted now so this most likely is not having any effect on the problem.
I have already tried to completely uninstall Visual Studio, and also use /ResetSettings and /ResetUserData. Microsoft support even had me reinstall my system, but nothing fixes it.
Has anyone got an idea of what’s happening, and how I could go about fixing it ?
Thank you for your time.