I decided to go with xcopy instead of creating a msi package. I am going to install it only on one machine anyways.
Thx all.
User Profile
Collapse
-
Also when i am adding the configuration file which one i am adding? there are two of them. One in the main folder named "App.config ", the other one is in the bin/debug folder with the application name "appName.exe.co nfig".Leave a comment:
-
-
but why i need the location of the config file. I am already able to read the config file when i ran the program in visual studio. The problem is when i create a setup project, and install it somewhere else.
what i expecting was when i include the project to the setup project, i also include the config. So i thought it should know it is going to use and create that config file too. It creates but looks like it doesnt use it....Leave a comment:
-
thx for your help but no i didnt hard code it. I am using system.configur ation library which includes built-in features so that i dont have to hard code. It knows it needs to look at the app.config file when i say string sLoc = configuration.A ppsettings["fieldname"] ;
any more ideas?Leave a comment:
-
I added but then when i install the program in a different machine, it gives a unhandled error. and dont think it reads from the config file....Leave a comment:
-
help needed for setup project with configuration files
hey all,
i have a console application written in c# which reads input and output file locations from a config file, app.config. i am trying to build a setup installer for that application. I couldnt find how to include that config file in the deployment.
I want to use the setup project method.
Is there anyone know how i need to include the configuration file to the installer.
Greatly appreciated......
No activity results to display
Show More
Leave a comment: