I\'m deploying a asp.net core 2.0 website to IIS 10.
I\'ve made sure that my app is using the correct configuration for ISS in the program.settings file.
<
If you publish the app as a self-contained ASP.NET Core 2.2 apps as per the linked screenshot (I don't have enough rep for inline image), it will fix this issue.
Self contained:
This can be set when editing your publish settings.