curiouswebster
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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)
ASKER
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.
thanks.
yes not including the pdb with either is quite a bit better.
ASKER
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?
ASKER
What about if I obfuscate the execcutable with Dotfuscator? Does the PPUtil.exe.config file have any value at that point?
ASKER