I am using Visual studio 2019 professional. I created one solution in which all of my source files have main function. so whenever I want to run my specific program I exclude all other source files(containing main) from build and building. But recently exclude from build is not working properly
in above image you can see "MakeFunction.cpp" is excluded from build but not getting excluded.
In this image you can see "InlineFunction.cpp" function is excluded in solution explorer window, but included
I am dumb... In properties window I was configuring for Release and building in debug mode.