Ok. This thread looks to be a pretty clear duplicate of the “Case 2” in the other thread. Threads are much easier to deal with if they only deal with one issue. I suggest we deal with the Azure DevOps issue in this thread and use the other thread to focus on “Case 1”.
So: the logs you posted are for the “Run Code Analysis” step, not the MSBuild/VSBuild step.
Could you post those logs please? (I want to check the parameters that are being passed to the compiler).