Click here to Skip to main content
15,902,636 members
Home / Discussions / C#
   

C#

 
AnswerRe: equivalent Pin
PIEBALDconsult17-May-10 6:05
mvePIEBALDconsult17-May-10 6:05 
GeneralRe: equivalent Pin
genieabdo17-May-10 6:11
genieabdo17-May-10 6:11 
GeneralRe: equivalent Pin
Luc Pattyn17-May-10 6:12
sitebuilderLuc Pattyn17-May-10 6:12 
GeneralRe: equivalent Pin
genieabdo17-May-10 6:23
genieabdo17-May-10 6:23 
GeneralRe: equivalent Pin
PIEBALDconsult17-May-10 6:24
mvePIEBALDconsult17-May-10 6:24 
GeneralRe: equivalent Pin
Luc Pattyn17-May-10 6:27
sitebuilderLuc Pattyn17-May-10 6:27 
QuestionProduction release: Do you issue a "Release" build or do you simply not roll out the debug's pdb file? Pin
Alaric_17-May-10 3:49
professionalAlaric_17-May-10 3:49 
AnswerRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
PIEBALDconsult17-May-10 4:04
mvePIEBALDconsult17-May-10 4:04 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
J4amieC17-May-10 4:53
J4amieC17-May-10 4:53 
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 5:28
mvePIEBALDconsult17-May-10 5:28 
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:38
The Man from U.N.C.L.E.17-May-10 5:38 
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 5:42
mvePIEBALDconsult17-May-10 5:42 
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 7:07
The Man from U.N.C.L.E.17-May-10 7:07 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
J4amieC17-May-10 5:48
J4amieC17-May-10 5:48 
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:01
mvePIEBALDconsult17-May-10 6:01 
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 

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.