vs in Generation
On the basis of the last compilation, only modified files are regenerated and files that have not been modified are not regenerated.
re-build in VS
All files are regenerated. If you refer to a DLL for another class library, you will regenerate other class libraries, which is slower but more reliable.
Only for projects under normal circumstances, he and the project-> build/rebuild is no different, only when the project has project dependencies is not the case.
Build/rebuild and project-only differences, and settings for Project dependencies >
As shown in the illustration above, the following project Test2 to use the Lib file generated by the above project Test1, so test2 project dependencies are test1, this time the project-> build/rebuild will compile the dependencies and then compile themselves, and the project-> For project-> only build/rebuild only builds itself.
Also note that now the Test1 project is a static library, and Test2 is an application that should set Test2 as the startup project, otherwise it will be wrong.