Application configuration file deleted when building ...

G

Guest

Hi people

We have a strange (unexpected) problem with our application configuration file. When we place the config file in the same directory as the assembly it is deleted when we build our project. The name of the config file is "App.exe.config" with App the name of our application (the executable is App.exe)

We tested the same thing in another project (which is totally different), and there the file is _not_ deleted. However, the file is also named something like App.exe.config. We tried to look for differences in the project, but we did not find any

Has anyone heard of this problem

Thanks
Tom.
 
C

codymanix

When you rebuilt the project visual studio deletes the contents of the
bin/obj/debug/release folders.

--
cody

Freeware Tools, Games and Humour
http://www.deutronium.de.vu || http://www.deutronium.tk
TT (Tom Tempelaere) said:
Hi people,

We have a strange (unexpected) problem with our application configuration
file. When we place the config file in the same directory as the assembly it
is deleted when we build our project. The name of the config file is
"App.exe.config" with App the name of our application (the executable is
App.exe).
We tested the same thing in another project (which is totally different),
and there the file is _not_ deleted. However, the file is also named
something like App.exe.config. We tried to look for differences in the
project, but we did not find any.
 

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