The "Never Build" setting in VS2022 Options as shown below could be the problem. You want "Always Build".
Visual Studio Cpp project run problem
drjackool
956
Reputation points
Hi
I use VS 2022 version 17.6.5; My project is Win32 platform, My problem is when changing a file and then pressing F5 to run the project ( in Debug) the modified file is NOT compiled and VS uses previous build file so I have to use Rebuild menu to build entire project ! How solve this problem ? I think I changed some settings in VS options that cause this issue but I'm not sure!
Thanks
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
2 answers
Sort by: Most helpful
-
-
RLWA32 51,361 Reputation points2023-08-18T09:31:10.8966667+00:00 The problem can also happen if "Build" is not checked in the configuration manager.