471,348 Members | 1,314 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

Application.ExecutablePath - debug mode problem

I have an XML file that stores some application data. I really don't
want to have a separate versions of the XML file for debugging and
when executing the .EXE. If I use Application.ExecutablePath to get
the file (which will reside on the same dir as the app) it will vary
when running in the IDE (Debug dir vs Release dir). Is there an easy
way to always get the Release directory? Do I just need to do some
parsing to replace "debug" with "Release" or is there a more elegant
Jun 27 '08 #1
0 852

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Tony | last post: by
6 posts views Thread by Tony Johansson | last post: by
1 post views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.