Click here to Skip to main content
14,453,651 members
   

C#

 
QuestionClear comments and rename var/method names at compile time Pin
Lupu5R3x18-Jan-20 1:49
MemberLupu5R3x18-Jan-20 1:49 
AnswerRe: Clear comments and rename var/method names at compile time Pin
OriginalGriff18-Jan-20 2:45
communityengineerOriginalGriff18-Jan-20 2:45 
GeneralRe: Clear comments and rename var/method names at compile time Pin
Lupu5R3x18-Jan-20 5:17
MemberLupu5R3x18-Jan-20 5:17 
GeneralRe: Clear comments and rename var/method names at compile time Pin
Dave Kreskowiak18-Jan-20 5:43
mveDave Kreskowiak18-Jan-20 5:43 
GeneralRe: Clear comments and rename var/method names at compile time Pin
Lupu5R3x18-Jan-20 7:51
MemberLupu5R3x18-Jan-20 7:51 
GeneralRe: Clear comments and rename var/method names at compile time Pin
Richard MacCutchan18-Jan-20 5:52
communityengineerRichard MacCutchan18-Jan-20 5:52 
GeneralRe: Clear comments and rename var/method names at compile time Pin
Lupu5R3x18-Jan-20 7:53
MemberLupu5R3x18-Jan-20 7:53 
GeneralRe: Clear comments and rename var/method names at compile time Pin
OriginalGriff18-Jan-20 5:52
communityengineerOriginalGriff18-Jan-20 5:52 
That's not strictly true - it's picking up the comments and such from the PDB file, which it detects from the App GUID (IIRC). Try this: create a new project, comment it, and build it.
copy the Release EXE to a safe place, and delete the original solution folder (as if it was just installed on a new machine).

Open the exe with dotPeek, and it can't find the PDB, so it uses just what's in the file. No comments! Laugh | :laugh:

As for readability, use an obfuscator and it should be pretty horrible to look at!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Clear comments and rename var/method names at compile time Pin
Lupu5R3x18-Jan-20 7:57
MemberLupu5R3x18-Jan-20 7:57 
GeneralRe: Clear comments and rename var/method names at compile time Pin
OriginalGriff18-Jan-20 8:01
communityengineerOriginalGriff18-Jan-20 8:01 
AnswerRe: Clear comments and rename var/method names at compile time Pin
Gerry Schmitz18-Jan-20 8:00
mveGerry Schmitz18-Jan-20 8:00 
GeneralRe: Clear comments and rename var/method names at compile time Pin
Lupu5R3x18-Jan-20 8:09
MemberLupu5R3x18-Jan-20 8:09 
GeneralRe: Clear comments and rename var/method names at compile time Pin
Dave Kreskowiak18-Jan-20 17:03
mveDave Kreskowiak18-Jan-20 17:03 
GeneralRe: Clear comments and rename var/method names at compile time Pin
Gerry Schmitz18-Jan-20 18:30
mveGerry Schmitz18-Jan-20 18:30 
Questioncompare two dictionary and display difference Pin
mjbaquiran18-Jan-20 1:01
Membermjbaquiran18-Jan-20 1:01 
QuestionRe: compare two dictionay and display difference Pin
Eddy Vluggen18-Jan-20 1:30
professionalEddy Vluggen18-Jan-20 1:30 
AnswerRe: compare two dictionay and display difference Pin
mjbaquiran18-Jan-20 8:05
Membermjbaquiran18-Jan-20 8:05 
AnswerRe: compare two dictionay and display difference Pin
Gerry Schmitz18-Jan-20 7:40
mveGerry Schmitz18-Jan-20 7:40 
GeneralRe: compare two dictionay and display difference Pin
mjbaquiran18-Jan-20 8:08
Membermjbaquiran18-Jan-20 8:08 
GeneralRe: compare two dictionay and display difference Pin
Gerry Schmitz18-Jan-20 8:52
mveGerry Schmitz18-Jan-20 8:52 
AnswerRe: compare two dictionary and display difference Pin
BillWoodruff19-Jan-20 1:19
mveBillWoodruff19-Jan-20 1:19 
AnswerRe: compare two dictionary and display difference Pin
Richard Deeming20-Jan-20 8:52
communityengineerRichard Deeming20-Jan-20 8:52 
GeneralRe: compare two dictionary and display difference Pin
mjbaquiran20-Jan-20 20:53
Membermjbaquiran20-Jan-20 20:53 
GeneralRe: compare two dictionary and display difference Pin
Richard Deeming21-Jan-20 2:19
communityengineerRichard Deeming21-Jan-20 2:19 
QuestionOleDb Error Pin
Kevin Marois15-Jan-20 9:57
professionalKevin Marois15-Jan-20 9:57 

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.