Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

What files in the debug directory do I need to execute the program?

I am about to deploy my executable to a different directory, other than the bin\Debug directory, from my Visual Studio 2005 directory. but there are other files there and want to be sure to get all those that I need.

My program is called PPUtil, so obviously I need PPUtil.exe.

What about
PPUtil.vhost.exe.config?
PPUtil.exe.config?
PPUtil.vhost.exe?
PPUtil.pdb?

Or, better yet, how do I create a Release version?  What advantages are there of making a release version?  If I intent to obfuscate the executable, does it matter which I use?

thanks,
newbieweb
ASKER CERTIFIED SOLUTION
Avatar of gregoryyoung
gregoryyoung
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of curiouswebster

ASKER

What is the advantage of using the Release version the Debug version?
SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
newbieweb: a debug build disables JIT optimizations to make it easier to match up what your code is to your debugging symbols (contained in the .pdb file). As such the code is slower and a bit larger (not substantially)
I noticed the pdb file is about two times the size if the exe.  So I will bet a performance improvement may be noticable.

thanks.
yes not including the pdb with either is quite a bit better.
when you say "either", do you mean that you can run the executable compiled in Debug mode without the pdb file?  Is that about the same as running the Release executable?
What about if I obfuscate the execcutable with Dotfuscator?  Does the PPUtil.exe.config file have any value at that point?