开发者

App.Config vs. AppName.exe.Config

开发者 https://www.devze.com 2023-01-01 17:32 出处:网络
I\'m building a Windows Service app that has configuration data stored in App.开发者_JAVA百科Config. However, I noticed that when I build my application a AppName.Exe.Config is generated.

I'm building a Windows Service app that has configuration data stored in App.开发者_JAVA百科Config. However, I noticed that when I build my application a AppName.Exe.Config is generated.

Can someone tell me the relationship between these two files? Is the AppName.Exe.Config file what I install with my Windows Service app, instead of the app.config?

Thanks - Randy


App.Config is the file used in your development environment. AppName.exe.config is the app.config file used when your app is deployed.

0

精彩评论

暂无评论...
验证码 换一张
取 消