views:

24

answers:

1

I have asp.net website which when published using build > publish website option in VS2010 and even when checking omit debug information option in website publish window,published folder still contains pdb files is there a way to avoid this behavior?.

any help would be appreciated

Thanks guys...

+1  A: 

The PDB files will be there from your last build under debug. Check the properties to check when they were modified or delete to see if they come back.

m.edmondson
thanks eddy556, but i tried with empty folder as target location but found no luck, is that you meant?
DSharper
No I meant to make sure your in release mode then just delete the PDB files, they shouldn't come back.
m.edmondson
hi a strange thing, in build mode option i can only select debug mode but when i go to new configuration window there is no option of copy from release config any idea , thanks in advance
DSharper