What does .exe file used for in framework-dependente publish? the project works on IIS and by kestrel with and without this file. So what is the benefit of this file?
CodePudding user response:
Despite the fact that a native executable is not required for framework-dependent deployments, it's still generated by default. You can set the UseAppHost
property in .csproj
to false to disable generation of the executable.
<PropertyGroup>
<UseAppHost>false</UseAppHost>
</PropertyGroup>