473,569 Members | 2,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2391
"RAM" <r_********@poc zta.onet.plwrot e in message
news:uF******** ******@TK2MSFTN GP04.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_********@poc zta.onet.plwrot e in message
news:uF******** ******@TK2MSFTN GP04.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.netNoS pamMwrote in
message news:uB******** ******@TK2MSFTN GP03.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_********@poc zta.onet.plwrot e in message
news:uF******** ******@TK2MSFTN GP04.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.govsch reef in bericht
news:eO******** ******@TK2MSFTN GP05.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.netNoS pamMwrote in
message news:uB******** ******@TK2MSFTN GP03.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_********@poc zta.onet.plwrot e in message
news:uF******* *******@TK2MSFT NGP04.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
2332
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 unaccaptable. I thought about loading only the project I need into visual studio and not the whole solution. The problem is that the compiler tells me it...
3
19594
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
9995
by: Keith Smith | last post by:
What is the difference between "build" and "rebuild" when building a project?
2
1785
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 app the output dll is about 16KB after running (F5) the application the file size increase tot 92KB. Thanks
2
1466
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 the MSDN website and I found this Build - Builds the specified solution or project according to the specified solution configuration.
2
7437
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
1559
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 declared These errors are totally erroneous. If I go into the class and cut the offending code and repaste it in the same spot the errors...
1
1894
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 that the build succeded. However, when he runs the program (Start without debugging), the new build IS NOT being run. He has to actually choose...
3
4631
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 whenever I save new code ? BTW: What is the difference between the two menues: Build->Build solution and
0
7697
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7968
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6283
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.