G
Guest
Sorry about the cross posting to this group but I posted this question for a
coworker last week in the setup board and got no help:
hi,
If my project has subfolders and I have relative paths into those folders
(for images, xml files, etc.), after installing the application on the target
machine, the relative paths are different and nothing works.
This is because during development, the .exe is located in
appFolder/bin/Debug but after install, it is located in appFolder (the
deployment wizard puts it there by default). During development, a path of
"..\..\images" works fine, but after install it should be "\images". What is
the proper .NET way of handling this sort of thing?
I can't seem to change the location where the exectuable is located without
also changing where the subfolders go so that doesn't seem to be the solution.
Any help would be greatly appreciated.
coworker last week in the setup board and got no help:
hi,
If my project has subfolders and I have relative paths into those folders
(for images, xml files, etc.), after installing the application on the target
machine, the relative paths are different and nothing works.
This is because during development, the .exe is located in
appFolder/bin/Debug but after install, it is located in appFolder (the
deployment wizard puts it there by default). During development, a path of
"..\..\images" works fine, but after install it should be "\images". What is
the proper .NET way of handling this sort of thing?
I can't seem to change the location where the exectuable is located without
also changing where the subfolders go so that doesn't seem to be the solution.
Any help would be greatly appreciated.