Reputation: 31
I'm ready to release my first .net app, but I'm trying to determine if the {myAppName}.exe.config
file that is created at build time needs to be distributed with my app? Or will this be created if it doesn't exist?
Thanks.
Upvotes: 3
Views: 1340
Reputation: 16757
The simple answer is yes, include it. You don't want to take the chance that you don't need it. There are a number of things you might need it for. If you don't have it, your application will have issues. If you don't need it, it won't hurt anything to have it there.
Upvotes: 0
Reputation: 33143
What is in it? You will probably want to open it up and look and see what in there-- various design time components will modify it, often without you knowing. As soon as you have 1 dependency on the config file, you need to include it, and it is possible that the dependency originates from a framework or 3rd party assembly.
Upvotes: 5