hi Pipe,
please pay attention to this point:
1. CW10.4 and CW10.6 can't share the same workspace folder
2. before build , go to menu "project", "clean...". to clean up the old associations. then rebuild the project.
========================================
this answer is for you. if it helps, please click on "correct answer " button.
Best Regards,
ZhangJun