473,586 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application configuration file deleted when building ...

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.
Nov 16 '05 #1
1 826
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)" <_N_0SPA|/\|t*******@hotm ail.com|/\|APS0_N_> schrieb
im Newsbeitrag news:47******** *************** ***********@mic rosoft.com...
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.

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
1857
by: Jeremy Ames | last post by:
I have created a web application that uses a custom control and a web service on my local system. I have gotten all of the bugs worked out on my local system and now it is time to move it to the sever. I have tried copying all of the files and folders within my application folder. I have even tried building a web setup and installing it on the...
1
239
by: TT (Tom Tempelaere) | last post by:
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...
9
1886
by: Wayne Wengert | last post by:
I built an ASP application and it runs fine on my local IIS. I am trying to move the application to my web service (ISP) out on the internet. I've read several of the help articles but they all seem to think I am deploying to localhosts. I created a new directory on my web page and copied most of the files from the wwwroot subdirectory...
0
814
by: MrMike | last post by:
I'm building my first asp.net application, and I've successfully copied it to my webserver using CopyProject. However, now when I attempt to open the application on the server I get the error message -------------------------------------------------------------------------------------- Configuration Error Description: An error occurred during...
4
3153
by: Sai | last post by:
Hi, I am using VSTO 2005 Beta for building an excel application. I added application configuration file to the project (app.config) and it has the following section in it. <configuration> <appSettings> <add key="serv" value="test" /> </appSettings> </configuration>
2
1259
by: aiki727 via DotNetMonster.com | last post by:
Building an application that will use an external data file to get configuration info for the app when it loads. I have a few questions. When I deploy the app where does the file that is being linked go; in the Bin folder, or somewhere else? In order to link the file to the app, I need to select it during the deployment process (I think). How...
10
6812
by: Mike9900 | last post by:
Hello, I would like to store application expiration date in a file and store that file in a secure place, so the application can access the file for all the users on that computer. IsolatedStorage is a good technique but it is for the each user only and is not machine level. Registry is not good because the user may not have access...
5
7837
by: mmcd79 | last post by:
I built a VB.net application that makes use of a machine level DB connection string setting, and a user level starting location setting. The machine level setting and the default user based setting is of course stored in the app.exe.config file located in the same directory as the exe. Upon closing the form, I save the user setting which...
2
1953
by: zacks | last post by:
I have an application that stores its configuration file in the user's Local Application special folder in a subfolder COMPANYNAME \PRODUCTNAME. The application creates the file the first time the application is run. The application is installed with a setup project in the application solution. If I uninstall the application in the Control...
1
5216
by: Bhrionn | last post by:
Hello World, I am working on implementing a build for my companies application. The scenario implemeted is producing the error: ‘Class does not support automation or does not support expected interface' when I try to run the RegFree COM interop application from a clients machine. The application works fine for all development machines when...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8202
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3837
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.