Click here to Skip to main content
15,889,335 members
Home / Discussions / C#
   

C#

 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Eddy Vluggen17-May-10 5:49
professionalEddy Vluggen17-May-10 5:49 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Alaric_17-May-10 5:56
professionalAlaric_17-May-10 5:56 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Eddy Vluggen17-May-10 6:04
professionalEddy Vluggen17-May-10 6:04 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
PIEBALDconsult17-May-10 6:07
mvePIEBALDconsult17-May-10 6:07 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Giorgi Dalakishvili17-May-10 8:50
mentorGiorgi Dalakishvili17-May-10 8:50 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
PIEBALDconsult17-May-10 9:24
mvePIEBALDconsult17-May-10 9:24 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Giorgi Dalakishvili17-May-10 9:29
mentorGiorgi Dalakishvili17-May-10 9:29 
AnswerRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
The Man from U.N.C.L.E.17-May-10 4:07
The Man from U.N.C.L.E.17-May-10 4:07 
1) Absolutely. Release configuration is designed of producing public releases. However this should be part of your build process (team system/nant or whatever) and not a manual process changing each project.

2) No. Debug builds are different. For starters they define the debug symbol, so any code enclosed in the #IF DEBUG ... #ENDIF tags will run in the wild, where it definitely should not go. Also additional debug symbols will be compiled into the application in Debug, causing a larger file.

3) Check the settings for any project, and you will see that you can set a number of different compiler options for each configuration, ranging from generation of XML documentation files to enabling compiler optimisations and targeting specific CPUs. For a debug build you may not care about CPUs if the dev environment is all 32bit, but in production you have to get specific or suffer the consequences.

4) A 'True' release build, should not be debugable, will not include debug symbols, will probably not include documentation, will be optimised, does not define the TRACE or DEBUG compiler constants thereby enabling different code paths, should generate a smaller dll of exe.

PDB files should be generated in Release builds, but probably not shipped. They hold source code line number information and are therefore needed for pinpointing the line numbers where exceptions are thrown.
If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
[My Articles]  [My Website]

GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Alaric_17-May-10 4:48
professionalAlaric_17-May-10 4:48 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Alaric_17-May-10 4:55
professionalAlaric_17-May-10 4:55 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
The Man from U.N.C.L.E.17-May-10 5:37
The Man from U.N.C.L.E.17-May-10 5:37 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
The Man from U.N.C.L.E.17-May-10 5:30
The Man from U.N.C.L.E.17-May-10 5:30 
QuestionUsing Standalone SMTP email server Pin
msj4u17-May-10 3:31
msj4u17-May-10 3:31 
AnswerRe: Using Standalone SMTP email server Pin
Not Active17-May-10 3:43
mentorNot Active17-May-10 3:43 
GeneralRe: Using Standalone SMTP email server Pin
msj4u17-May-10 19:18
msj4u17-May-10 19:18 
AnswerRe: Using Standalone SMTP email server Pin
Dave Kreskowiak17-May-10 6:05
mveDave Kreskowiak17-May-10 6:05 
GeneralRe: Using Standalone SMTP email server Pin
msj4u17-May-10 19:14
msj4u17-May-10 19:14 
QuestionReportviewer Pin
Rajeshwar Code- Developer17-May-10 3:26
Rajeshwar Code- Developer17-May-10 3:26 
QuestionActiveX control Pin
NarVish17-May-10 0:52
NarVish17-May-10 0:52 
AnswerRe: ActiveX control Pin
Abhinav S17-May-10 1:41
Abhinav S17-May-10 1:41 
GeneralRe: ActiveX control Pin
NarVish17-May-10 1:45
NarVish17-May-10 1:45 
QuestionSave multiPageTiff to multiPageTiff Pin
nevzatagan16-May-10 23:08
nevzatagan16-May-10 23:08 
AnswerRe: Save multiPageTiff to multiPageTiff Pin
Peace ON16-May-10 23:55
Peace ON16-May-10 23:55 
QuestionVerification text file Pin
tek 200916-May-10 22:45
tek 200916-May-10 22:45 
AnswerRe: Verification text file Pin
TheyCallMeMrJames17-May-10 6:23
TheyCallMeMrJames17-May-10 6:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.