Deployment question...//Newbie in C#

G

genc ymeri

Hi,
I'm a newbie in C#. I have a "Hello World" application which all it does
loads a text file. The filename and its path (which is suppose to be loaded
in the form) may vary and its path is written in app.config file.

If I want to install my new app in another PC what should I do ? Should I
copy the exe file and the app.config file in the same directory while as far
I can see they are in the same one in my VS Solution?

How this it will work out ?

Thanks a lot in advance.
 
G

Guest

Hi genc,

The quickest way is to copy the .exe, app.config and any associated dll's (if you created any) to a new directory. The better way is to create a Deployment Project that installs it into a user's choice directory and does it all for you

Regards
Jonathan Rucker

----- genc ymeri wrote: ----

Hi
I'm a newbie in C#. I have a "Hello World" application which all it doe
loads a text file. The filename and its path (which is suppose to be loade
in the form) may vary and its path is written in app.config file

If I want to install my new app in another PC what should I do ? Should
copy the exe file and the app.config file in the same directory while as fa
I can see they are in the same one in my VS Solution

How this it will work out

Thanks a lot in advance
 
G

genc ymeri

then how my program it will be able to tell where the app.config is located
? it checks the same directory by default ?


Jonathan Ruckert said:
Hi genc,

The quickest way is to copy the .exe, app.config and any associated dll's
(if you created any) to a new directory. The better way is to create a
Deployment Project that installs it into a user's choice directory and does
it all for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top