By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,915 Members | 1,341 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,915 IT Pros & Developers. It's quick & easy.

2.0: Build vs Rebuild

P: n/a
RAM
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/
Oct 6 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"RAM" <r_********@poczta.onet.plwrote in message
news:uF**************@TK2MSFTNGP04.phx.gbl...
I am learning .NET 2.0, Visual ... 2005 Express Edition. Could you explain
me please the difference betwen Build and Rebuild commands?
A build causes compilation of the files which have changed. A rebuild causes
the compilation of everything.

Regards,
Will
Oct 6 '06 #2

P: n/a
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/

Oct 8 '06 #3

P: n/a
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/


Oct 8 '06 #4

P: n/a
Thanks guys,

I have never bothered me about this.

But it is interesting to know.

Cor

"Kevin Spencer" <uc*@ftc.govschreef in bericht
news:eO**************@TK2MSFTNGP05.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.

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/



Oct 8 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.