Reputation: 99
I published a .net core console application to my test server and scheduled it to run using task scheduler. I then wanted to turn on additional functionality using a switch from the app.config (that apparently turns into project.dll.config). The modifications did not take effect however. What is the correct way to modify my app.config file in this scenario? Do I need to republish? Maybe reschedule?
Upvotes: 0
Views: 522
Reputation: 177
Nope, you won't need to republish or recompile, unless you modify a ".cs" file. Just need to restart the app, like @Hayden said.
Upvotes: 0
Reputation: 356
The Console Application will need to be restarted to pick up any change in its .config
files.
Upvotes: 1