Hello everyone, I am the original text. This essay is a translation of the original text and my own experience.
If programmers do not pursue it, they will never find their girlfriends. Of course, they will not find any pursuit. Fortunately, I am full and happy when there is a pursuit. Now our problem is that every day we debug the project, the three menu items that will be clicked in Visual Studio are build solution, rebuild solution and clean solution. What exactly are they. I found a topic article in the spirit of supreme pursuit (haha, hahaha) and thanked aosan for sharing it.
Build solution is the solution for generating. It is incremental build, called incremental build. In other words, ide only compiles the modified source files, but it is not necessary for you to make any changes. Since each part of a solution is correlated, we may need to re-compile the solution in another place after a change ). This is generally not long enough for me.
Rebuild solution to regenerate the solution. It will first delete all the current compiled files, various EXE, DLL, and so on, and then recompile from scratch regardless of whether your code has been modified.
Clean solution. If you want it, it can be translated into a clean solution, but we still think it is a clean solution. This option will delete all the files that have been compiled under the bin and OBJ directories of the project, such as EXE and DLL.
So the third brother said, smart, you must have summed up their relationship: C + B = R. We are not assigning values here, so you may ask, are C + B and R fully equivalent? What is the difference?
The careful third brother wrote for us: if there are multiple projects under a solution (assuming there are two), the rebuild operation will clean each project and then build the project; the clean + build operation will clean all projects at one time, and then build all projects at one time. Although I don't think it is necessary to get such details, this is not a bad thing :)
(Image stealing)
After that, I went to msdn to find related questions. I found a bunch of questions and asked them about bicycles. In this case, stack explosion is quite reliable. I found the same third brother in the case of a problem. I am really enthusiastic.
At last, I found that I had produced another piece of information garbage and tried to write my valuable essays as soon as possible.
1. Solution build, rebuild, and clean