473,410 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

2.0: Build vs Rebuild

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
4 2383
"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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: cody | last post by:
We have a huge project, the solutuion spans 50 projects growing. Everytime I want to start the project I have to wait nearly over 1 minute for the compiler to complete building. This is...
3
by: Ant | last post by:
Hello, Why is there a choice between build Solution & Rebuild Solution in the IDE. what is the difference? When would you use one over the other? Many thanks for your thoughts Ant.
2
by: Keith Smith | last post by:
What is the difference between "build" and "rebuild" when building a project?
2
by: Gabriel Lozano-Morán | last post by:
ASP.NET v1.1.4322 Visual Studio .NET Enterprise Architect Client: Windows XP SP2 Does someone know why the output dll increases in size after running the web application? When I build my web...
2
by: mwazir | last post by:
Hi all, Needed a clarification on a simple point. What is the real difference between Build and Rebuild option in the .NET IDE and when should either of the options be used? I tried searching...
2
by: | last post by:
I have not been able to see any difference between what happens when I use Build>Build Solution or Build>ReBuild Solution. Is there any reason to use one or the other at any time? Thanx......joisey
5
by: Jon | last post by:
I am constantly getting reports in my task list like these: * 'someObjectName" is not a member of 'someOtherObjectName' * Handles clause requires a WithEvents variable. * Name 'someName' is not...
1
by: mac | last post by:
I just put C# express editiion on my son's computer so he can learn how to code, and we've run into a weird problem. Whenever he makes a change to his code and hits F6 (build) the IDE reports...
3
by: Peter Hofmann | last post by:
When I change the source code and save it I have currently always to press explicitely F6 zu "compile" the code (and get new error list). Isn't there an automatic build function which is called...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.