I set HostingModel to "Out Of Process" in VS Debug window. But when publish the project to my DEV server. web.config file showing always hostingModel="inprocess". If I remove this attribute I can run the application.
Is there any process while publishing we change hostingModel to OutOfProcess. I am using ASP.Net Core 3.1 version for WebAPI
