In order to achieve best results, follow these steps:
Note: It is highly recommended to leave all the project’s output binary files (dll, exe, ocx, etc.) in the same directory where they were generated and with their original name. Also make sure that if a project references a binary file from another project, the reference has been made to the original path where the file was generated. Otherwise the references between projects might not be resolved automatically when the Upgrade Solution is generated.