The active project should run. Are both projects an application projects or one is app and the other is lib, setup to run the app?
Have you looked at the build log to see if the correct project it being run?
Found out the cause; still not sure if bug or not. I have decided it was User Error on my part.
The exe names was accidentally exactly the same.
I save-as the second project; and changed the source code names; but, forgot to change the output filenames.
Tim S.
Good run after fixing
-------------- Run: Release in TestProductionCode2 (compiler: GNU GCC Compiler)---------------
Checking for existence: F:\Unity-master\examples\bin\Release\TestProductionCode2.exe
Executing: "C:\GreenApps\CodeBlocks-NB/cb_console_runner.exe" "F:\Unity-master\examples\bin\Release\TestProductionCode2.exe" (in F:\Unity-master\examples\.)
Process terminated with status 0 (0 minute(s), 2 second(s))
-------------- Run: Release in TestProductionCode (compiler: GNU GCC Compiler)---------------
Checking for existence: F:\Unity-master\examples\bin\Release\TestProductionCode.exe
Executing: "C:\GreenApps\CodeBlocks-NB/cb_console_runner.exe" "F:\Unity-master\examples\bin\Release\TestProductionCode.exe" (in F:\Unity-master\examples\.)
Bad run after breaking it; I think it was clearly user error in this case; sorry for the false alarm.
-------------- Run: Release in TestProductionCode (compiler: GNU GCC Compiler)---------------
Checking for existence: F:\Unity-master\examples\bin\Release\TestProductionCode.exe
Executing: "C:\GreenApps\CodeBlocks-NB/cb_console_runner.exe" "F:\Unity-master\examples\bin\Release\TestProductionCode.exe" (in F:\Unity-master\examples\.)
Process terminated with status -1073741510 (0 minute(s), 3 second(s))
-------------- Run: Release in TestProductionCode2 (compiler: GNU GCC Compiler)---------------
Checking for existence: F:\Unity-master\examples\bin\Release\TestProductionCode.exe
Executing: "C:\GreenApps\CodeBlocks-NB/cb_console_runner.exe" "F:\Unity-master\examples\bin\Release\TestProductionCode.exe" (in F:\Unity-master\examples\.)
Tim S.