Hi,
I have a VB.NET 2003 project framework 1.1.4.
I would like to create a setup project with the following structure for the
final
installation when the setup.msi is run.
C:\program files\company name\progname (this I have completed)
the the programe name directory I would like to have the exe file, the
app.config, and 3 text files that I have containing other config data.
then in the bin directory all the dependency assemblies(dlls).
The problem:
When I am debugging the application the 3 text files are'nt found unless
they are in the bin directory of the project. I am using
Application.StartupPath to find the text files. They are only found when they
are in the bin directory where I don't want them to be. The debug .exe is
created in the bin directory which I thinks explains some of this.
Also, when I make the setup.msi file and run it, the dependency files in the
bin are not found by the exe application which is in the root. If I copy the
dendencies from the bin into the root, it works fine.
the only way I can get it to work is all the text files and dependency dlls
in the same directory on the root.
I want the dependencies in the bin, the text files in the root, the exe in
the root, and the app.config in the root.
I've messed around for hours and cant' get this.
please advise.
thanks
Chris