none
Sharepoint 2010: Difference in WSP from Debug and Release mode

    Question

  • Hi ,

          we are recently started working on Sharepoint applications. I know in C++ Sometimes application will behaves in different ways if we deploy in Release and debug mode (Ex:Application will crash in Release but not in debug due to some memory leaks).

    Coming to Sharepoint , Please let me know the impact if i deploy application in Debug mode rather than in Release mode.

    Please list out all pros and cons if i deploy application in Debug Mode.

    Thanks

    Saxena

    Tuesday, June 25, 2013 10:47 AM

Answers

  • Hi ankitsaxena,

    For debug and release mode, debug mode include debug information in the compiled files which allows easy debugging, while release usually has optimization enabled.

    If you develop solutions in developing environment, you can choose to use debug mode, to easy debug the solution to make it work. If you publish a solution to production, it would better to use release mode.

    As SharePoint is based on Asp.Net, there shouldn’t be memory leaks issue if you don’t use unsafe code.

    Thanks,


    Qiao Wei
    TechNet Community Support

    Saturday, June 29, 2013 8:06 AM
    Moderator

All replies