I am developing a windows-service and would like to setup the culture in my app.config file.
Is it possible?
If yes where should I put the parameter?
Asked
Active
Viewed 6,554 times
0
LeftyX
- 34,900
- 21
- 131
- 190
-
See also: https://stackoverflow.com/questions/9104084/how-do-i-set-cultureinfo-currentculture-from-an-app-config-file – Julian Oct 01 '18 at 10:35
1 Answers
4
There is no built-in way of configuring this, but you can add an appSetting and configure your thread's culture at start up.
This answer should help.
Community
- 1
- 1
Tim Rogers
- 20,618
- 6
- 50
- 67