Re: Web Deployment Project Questions

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I can give info on question 2:

If you go into the IDE and set debug info to none (which is what shows up in the XML), it should not create the PDB. By default, the PDB is created, but no other debug information, with release.

I keep it at this setting and put the PDBs in a different location. If I need to stoke them up to figure out a problem, they are there. If you absolutely do not want them, try going into the IDE and check the properties for your projects. Under Release, click the advanced button and make sure it is set to none.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"Justin Friel" <jm.friel@xxxxxxxxx> wrote in message news:83b629d5-b6d1-4610-88c2-c233b1c28965@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I have been using a web deployment project with Visual Studio 2008
Standard Edition to deploy a website. There are a couple of settings
which aren't working exactly as I expected and was wondering if anyone
on the list has more info.

First, I'm trying to use the Web.config file section replacements
feature to replace a custom section in my config file. The project
can replace the appsettings and connectionstrings sections just fine,
but I get an error when I try to replace my custom section. Do web
deployment projects support replacing sections other than appsettings
and connectionstrings? My custom section looks like this:

<customSection>
<add customKey foo="bar">
<childElements>
<add key="foo" value="bar" />
</childElements>
</add>
</customSection>

Second, in the compilation section my release configuration I have
unchecked 'generate debug information,' but am still getting .pdb
files generated. I've also looked at the xml file and made sure
DebugType is set to none. Why are the .pdb files still getting
created? Is there any way to stop them from being built?

Thanks,
Justin

.



Relevant Pages

  • Re: Need Help Debugging
    ... you should use straight and plain ADPlus.VBS from the debugger package. ... debug info loaded, etc... ... does that avoid using the stack ?!? ... which is our custom CRITICAL_SECTION class. ...
    (microsoft.public.win32.programmer.kernel)
  • Debugging an asp.net application error specific to certain installations??
    ... SIMPLEST way to debug to an approximate but understandable level. ... send the PDB. ... I was thinking initiating such ideas are good though, for future debugging. ... "An unhandled exception was generated during the execution of the current ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to locate compiled binary code relative to source code?
    ... On top of Slava's clarification about the ubiquitoseness of the PDB file, ... The encryption itself will happen as part of the post-link process. ... > cracker, the more time he must invest in cracking it. ... > additional debug information would be included in the binary itself. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Custom errors and line numbers
    ... the doc states that this information is available in debug ... > mode with the pdb files... ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Unable to use Target - Run Programs to execute files
    ... an exe you better put even the relevant .pdb file ... I would like to use the Target - Run Programs option to test and Debug ...
    (microsoft.public.windowsce.platbuilder)