SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anyone tell me the difference between debug & release.Used in sharepoint 2010.

share|improve this question

closed as not constructive by Muhammad Raja, RJ Cuthbertson, Eric Alexander, John Chapman, Robert Lindgren Jun 25 '13 at 9:33

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

In what context? Compilation, performance, SharePoint scripts etc... If you put no effort into your questions I highly doubt you'll get any meaningful answers in return. – Nick Larter Mar 15 '13 at 8:16
@NickLarter,compilation context. – Harsh Bhavsar Mar 15 '13 at 8:56
up vote 1 down vote accepted


For developers, easyier to debug code and attach to processes. Also with an added bonus of optimization being off so you can see the varibles values when debugging.


Its for the clients, optimization is on and hard to see values when debugging thats because there is no need for the compiler to add debugging information.

dll size matters in sharepoint where your constantly adding new dlls to the GAC, Release is smaller and faster to the counterpart debug being slower and bigger

In general, building and debugging SharePoint solutions is the same as building and debugging other types of projects in Visual Studio


When to use Release configuration in Visual Studio for SharePoint solutions?

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.