Wednesday, 28 August 2013

Different user.config file when applikation is running as scheduled task

Different user.config file when applikation is running as scheduled task

I have a applikation that is using a settings file, and when it is running
as ascheduled task, it uses another user.setting file than when im
debugging the applikation through Visual Studio. Is this normal behaviour?
user.config from VS debugging
appname.vshos_StrongName_ldr4uvycmc51wccs12nto50cvy3vujt3
user.config from Scheduled task
appname.exe_Url_5fnquv0g1secc1miglozdookwwdastgw
I want the same user.config in both cases! Do I need to make a custom
settings file (simple textfile) and read and write to that, or how do I
solve this?

No comments:

Post a Comment