The following modules are missing or built with a different engine version:

I tried to migrate an object from one project to another and didnt realize that the C++ code does not come with it. Now I went to reload the project I migrated it to and I get the message "The following modules are missing or built with a different engine version:
" It asks If i want to rebuild, I say Yes, It says it failed and “could not be compiled. Try rebuilding from source manually.” I know it has to do with what I migrated or with Visual Studio but I dont know how to fix it. I have copy pasted code in Visual Studio for the associated project.