@Jean-Philippe Berger , Thanks to @Takahito Iwasa for sharing the SO discussion thread, I was also checking/discussing on this internally.
To benefit the community, copying the steps suggested for fix (which worked for others):
1.Publish with:
<PublishWithAspNetCoreTargetManifest>False</PublishWithAspNetCoreTargetManifest>
2.Upgrade to .NET Core 2.2
See this blog - net-core-2-1-will-reach-end-of-support-on-august-21-2021 for more info.
If you still have further issues, please let us know I'll follow-up with you.
Apologies for any inconvenience with! Thanks for your patience.