Deploying (MSI) my too also deploys a xxx.exe.config file? [C# 2003 .Net 1.1]

Shaitan00

Well-known member
Joined
Aug 11, 2003
Messages
343
Location
Hell
Not sure if this is normal or not but I created a deployment project for my tool (tool.exe) which was created using VSC# 2003 .Net 1.1 and after running the MSI (installing) there is a tool.exe.config file that also appears (I can also see it in primary outputs of the deployment project).

If I delete the file after install the tool.exe still runs fine and I see no reason to keep it (I kind of liked that it was a one-file deployment) so I wanted to know a few things:
- Is there a reason to keep this file post-install?
- Is there a way to remove it from the outputs of my MSI package (deployment package)?
Because I dont recall ever adding it before and I dont see anywhere I can remove it from the outputs of the project...

Any information or help would be much appreciated...
Thanks,
 
Have you added an app.config to the project - if so that is what will end up as the tool.exe.config.

In a nutshell the .exe.config file is simply a configuration file for the associated application, if it isnt present then any configuration it contains will not be available to the exe. Out of interest what does the .config file contain?
 
Last edited by a moderator:
Back
Top