I have created a web project (.net 5) in this way :

And now, I'm trying to create a Web Setup for my .Net 5 (application console) web project. As remarked in this link, I've added published items of my website project in web setup.
When I generate my setup and install my application, I have NO web.config created and because of that, I have 403.14 error (when I push it manually I have no more error!).
I don't know why web.config is created automatically in handy publish from VS2019 but not in Setup Web project ? Do I have to do some configuration in my IIS or Pool or maybe in my website ? Any help or idea?
PS App Pool is set to No Managed Code
Thanks
I need this web.config :
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\MYAPP.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
</system.webServer>
</location>
</configuration>
A console application wont have a web.config as it's not usually built to be web hosted.