I've been making a game multiplayer, I had change the c++ code it will say "The following Modules are missing or built with a different engine version: Myproject6" I will then ask me to rebuild the file but it won't

I don’t think that is correct. This message can crop up when you add new C++ classes but the build fails. If it fails to build from acknowledging the message, then you have an error that is causing the build to fail. You will need to open the solution in VS and correct any build errors.