Difference between Build and ReBuild

I'm using .Net 2005.

Can anyone plz. explain me what is the exact difference between Build and Rebuild. When to use Build and when to use Rebuild

Best Regards

Nani.




Answer this question

Difference between Build and ReBuild

  • Dave Calkins

    Build will do a dependency analysis and only rebuild assemblies which need to be updated based on changes either within types inside of them, or dependent assemblies. Rebuild rebuilds the assembly even if the analysis detects that it doesn't need to be rebuilt.


    AnsonH_MS (Expert) - http://msdn.microsoft.com/chats/transcripts/vstudio/05_0505_dn_clan.aspx

  • RonanH

    Rebuild : Cleans the solution and builds

    Build: Just builds with out worring anything, where are Rebuild cleans all the intermediary files and the output directories that depend on the solution



  • Aqua General

    Sometimes when I build the solution, it won't even show the errors, and when I try with re-build, I can see the errors (if any). Why is it so

  • Difference between Build and ReBuild