Windows service app.config location

前端 未结 6 1739
傲寒
傲寒 2020-12-04 16:26

I have installed a C# Windows Service on Windows Server 2008. I installed it with InstallUtil. The service reads some data from the app.config file and it is doing it fine.

6条回答
  •  一个人的身影
    2020-12-04 17:07

    The App.config is likely called {ProjectName}.exe.config given the fact that it is a Windows Service. Check to see if that file exists and is what you are looking for.

提交回复
热议问题