Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / January 2005

Tip: Looking for answers? Try searching our database.

build or rebuild

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Guoqi Zheng - 10 Jan 2005 09:50 GMT
Dear sir,

What is the difference between build and rebuild... when should I use build
and when to use rebuild??

Thanks
Peter van der Goes - 10 Jan 2005 13:22 GMT
> Dear sir,
>
[quoted text clipped - 3 lines]
>
> Thanks

I hope I'm remembering this correctly...
Selecting "Build" allows for selective recompilation of those parts of a
solution that have changed since the last build, where "Rebuild"
unconditionally rebuilds all components of the solution unconditionally.
The difference becomes significant with large solutions when only (for
example) one code module has been modified.

Signature

Peter [MVP Visual Developer]
Jack of all trades, master of none.

Mohan Nalinaranjan [MSFT] - 10 Jan 2005 19:09 GMT
1. The Build Solution option compiles only those project files and
components that have changed since the last build. For example consider
that you have two projects Proj1 and Proj2 in your solution MySolution.
When you compile the solution using Build Solution option after making some
changes to Proj1 only Proj1 will be compiled and built but Proj2 will not
be compiled since there are no changes to it.

2. On the other hand the Rebuild Solution option builds all project files
and components irrespective of the changes made to them.  For example
consider that you have two projects Proj1 and Proj2 in your solution
MySolution. When you compile the solution using Rebuild Solution option
after making some changes to Proj1, both Proj1 and Proj2 will be compiled
and built even though there are no changes made to Proj2.

Thanks
Mohan

--------------------
>From: "Peter van der Goes" <p_vandergoes@toadstool.u>
>References: <e2#HYnv9EHA.1564@TK2MSFTNGP09.phx.gbl>
[quoted text clipped - 10 lines]
>NNTP-Posting-Host: ip68-97-198-108.ok.ok.cox.net 68.97.198.108
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP11.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.vsnet.setup:6494
>X-Tomcat-NG: microsoft.public.vsnet.setup
[quoted text clipped - 13 lines]
>The difference becomes significant with large solutions when only (for
>example) one code module has been modified.
Peter van der Goes - 16 Jan 2005 13:48 GMT
> 1. The Build Solution option compiles only those project files and
> components that have changed since the last build. For example consider
[quoted text clipped - 15 lines]
>
> --------------------
Thanks for confirming, Mohan.

Signature

Peter [MVP Visual Developer]
Jack of all trades, master of none.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.