When I compile my project in Release mode, I get the following error:
LNK1181: cannot open input file 'Project5\x64\Debug\main.obj'.
The error is strange because I’m compiling in Release mode, so the .obj files are correctly generated in the x64\Release folder. However, the linker is incorrectly looking for the file in the x64\Debug folder.
Additionally, when I compile, the folder Project5\x64\Release is created as expected, but the linker is not using this path.