<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>in csproj enforces dotnet to take all dependencies, so not depend on what is installed or not on server, otherwise fresh hosting bundle is required
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>in csproj enforces dotnet to take all dependencies, so not depend on what is installed or not on server, otherwise fresh hosting bundle is required