Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Explain App.Config
Message
From
09/05/2009 22:50:51
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01398891
Message ID:
01398896
Views:
62
>I have an App.Config in my solution. My SQL connection string is in there and in development it works fine.
>
>I build a Setup and installed remotely at the client site and the App.Config is there, as is Inventory Tracker.exe.config. My
>application is reading the conn string from this file, not app.config. Can someone explain this. I don't understand what's
>going on.
>
>Thanks

The app.config is probably in your project folder but the Inventory Tracker.exe.config is in your bin folder right? The app.config is included in your delivered application as the Inventory Tracker.exe.config. The contents are the same. You edit at design time the app.config and then deliver the other. It is a bit lame to me honestly, but I think how it is none the less.
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform