Build and Rebuild

  • Thread starter Thread starter mwazir
  • Start date Start date
M

mwazir

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.
Rebuild - Cleans and then builds the specified solution or project according
to the specified solution configuration.

Many thanks
 
* "mwazir said:
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?

"Build" doesn't change components that are already built and don't need to
be recompiled, "Rebuild" deletes prebuilt binaries and builds them again.
 
Thanks Herfried for your response. Apologies for my persistance.

Lets say for example I have a solution with 2 projects, one dll and one UI.
I make a small business logic change to one of the classes in my DLL without
any change to the methods/properties I expose to the UI project.

I choose "build" Would it be accurate to say that the DLL will be recompiled
and the other project will not. On the other hand I choose "Rebuild" and
both projects get compiled.

I am trying to understand in what circumstances would we want to delete
prebuilt binaries and build them again.

Many thanks

--
Wazir
 
Back
Top