Configuration file problem

  • Thread starter Thread starter Dino L.
  • Start date Start date
D

Dino L.

Hi,

I have a problem with my conf file called oki_sifrarnik.exe.config. With
Visaul Studio .NET (.NET framework 1.0) it was OK. Conf file is in
\bin\Debug , where my .exe is.

Now I have MS Visual Studio 2003, and (during compile time) VS deletes
conf file?!?
If I just run my oki_sifrarnik.exe , it works fine (reads conf file) ,
but if I compile form VS .NET 2003, conf file is deleted?!?

Any ideas?!?
 
Remember that the file needs to be added to the project. as app.config then
when you compile the VS Application copies and renames the file to the end
product <Application name>.exe.config
 
Glenn said:
Remember that the file needs to be added to the project. as app.config then
when you compile the VS Application copies and renames the file to the end
product <Application name>.exe.config
How can I add file as app.config file?
 
Glenn said:
Remember that the file needs to be added to the project. as app.config then
when you compile the VS Application copies and renames the file to the end
product <Application name>.exe.config
It works . Thanks
 
Back
Top