Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Rebuild might be useful if you want to make sure he did recompile the whole program.

I use rebuild often when it's time to give an Beta Version or a Retail version.

 

Rebuild might do something more that I'm not in knowledge of.

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted
Rebuild forces a complete rebuild of your project or solution which is useful when you have a reference that has changed. Useful for when you have an assembly that you update that your project is referenced to...VS may not be able to detect that you have updated it so forcing a complete rebuild will ensure your code will work properly with that assembly.
  • *Experts*
Posted

To elaborate on akiaz's comment: References marked as "Copy Local" (the default) will be recopied to your local harddrive.

 

At my work, we keep the "common" DLLs on the network so everyone can reference them in the same location. Visual Studio does NOT recognize when these files change. A rebuild will always copy down the referenced files so that I can "see" new classes/methods when they're added.

 

I generally use Build when I'm checking for syntax - just to make sure it compiles. I use Rebuild when I'm going to run my app (in Visual Studio) or when I want to compile and give out the DLL or EXE. Even with a large solution of 14 fairly large assemblies, a full rebuild only takes 5 or 10 seconds.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...