Warnings in visual studio 2019

when I start a new project and open it in Visual Studio 2019 it looks fine but after some time it says that I have 182 warnings. anyone knows how to fix it?

Some of the warnings might be intellisense warnings. I found intellisense unreliable, that’s why I switched the output to “build errors and warnings only”

This might also be helpful: