C
Cuperman
Hi all,
I have an XML file that I reference in my windows application
I access it using - Application.StartupPath & "/ini.xml"
During development this resides in the Bin folder, it appears this is
where the application is being run from when debug.
But when I build the project, install it (using a deployment project)
and then run it, I get a FileNotFound exception, because the XML file
is installed in the bin folder, but the application is now running from
the application folder (one level up from the Bin folder).
Whats the best way to set this up?
Thanks,
Mark
I have an XML file that I reference in my windows application
I access it using - Application.StartupPath & "/ini.xml"
During development this resides in the Bin folder, it appears this is
where the application is being run from when debug.
But when I build the project, install it (using a deployment project)
and then run it, I get a FileNotFound exception, because the XML file
is installed in the bin folder, but the application is now running from
the application folder (one level up from the Bin folder).
Whats the best way to set this up?
Thanks,
Mark