Portal talk:Current events/2010 August 20

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Untitled[edit]

Que1:

What is the difference between Build ,Rebuild and Clean in Dot Net?

Ans:

Build means compile and link only the source files that have changed since the last build, while Rebuild means compile and link all source files regardless of whether they changed or not. Build is the normal thing to do and is faster. Sometimes the versions of project target components can get out of sync and rebuild is necessary to make the build successful. In practice, you never need to Clean.
Build or Rebuild Solution builds or rebuilds all projects in the your solution, while Build or Rebuild <project name> builds or rebuilds the StartUp project. To set the StartUp project, right click on the desired project name in the Solution Explorer tab and select Set as StartUp project. The project name now appears in bold. Since the homework solutions typically have only one project, Build or Rebuild Solution is effectively the same as Build or Rebuild <project name>.
Compile just compiles the source file currently being edited. Useful to quickly check for errors when the rest of your source files are in an incomplete state that would prevent a successful build of the entire project. Ctrl-F7 is the shortcut key for Compile.

References:

http://forums.asp.net/p/1013741/1358490.aspx
http://www.cs.tufts.edu/r/graphics/resources/vs_getting_started

Anandsk22984 (talk) 06:50, 20 August 2010 (UTC) Quick Reference and Emergency Service for Dot Net Developers[edit]

Que1:

What is the difference between Build ,Rebuild and Clean in Dot Net?

Ans:

Build means compile and link only the source files that have changed since the last build, while Rebuild means compile and link all source files regardless of whether they changed or not. Build is the normal thing to do and is faster. Sometimes the versions of project target components can get out of sync and rebuild is necessary to make the build successful. In practice, you never need to Clean.
Build or Rebuild Solution builds or rebuilds all projects in the your solution, while Build or Rebuild <project name> builds or rebuilds the StartUp project. To set the StartUp project, right click on the desired project name in the Solution Explorer tab and select Set as StartUp project. The project name now appears in bold. Since the homework solutions typically have only one project, Build or Rebuild Solution is effectively the same as Build or Rebuild <project name>.
Compile just compiles the source file currently being edited. Useful to quickly check for errors when the rest of your source files are in an incomplete state that would prevent a successful build of the entire project. Ctrl-F7 is the shortcut key for Compile.

References:

http://forums.asp.net/p/1013741/1358490.aspx
http://www.cs.tufts.edu/r/graphics/resources/vs_getting_started