Build will only compile files that have changed. This is not always true,
but it is a good rule of thumb. Rebuild will force a recompile of all of
the files.
I thought this was true for a long time, but I was unsure, so I researched
it. In fact, both Build and Rebuild will build all projects that are
specified as "Build" according to the Solution configuration. Rebuild
performs a Clean operation prior to the build, using the Solution
configuration. The Clean operation deletes all intermediate
compiler-generated and output files from the project/solution. The Clean
operation can also be performed separately.
Here are a couple of references from microsoft.com:
http://msdn.microsoft.com/library/de...rfrebuilds.asp http://msdn.microsoft.com/msdnmag/issues/01/09/basics/
--
HTH,
Kevin Spencer
Microsoft MVP
Computer Control Freak
http://unclechutney.blogspot.com
A man, a plan, a canal, a palindrome that has.. oh, never mind.
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:uB**************@TK2MSFTNGP03.phx.gbl...
Build will only compile files that have changed. This is not always true,
but it is a good rule of thumb. Rebuild will force a recompile of all of
the files. Rebuild is useful after a number of builds to reduce the size
of the files and ensure all pieces are working together. Even the best
compiler gets a build wrong every once in a while.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
*************************************************
Think outside of the box!
*************************************************
"RAM" <r_********@poczta.onet.plwrote in message
news:uF**************@TK2MSFTNGP04.phx.gbl...
>Hello,
I am learning .NET 2.0, Visual ... 2005 Express Edition. Could you
explain me please the difference betwen Build and Rebuild commands? Thank
you.
/RAM/