发布NET CORE 2.2到windows server 2008 R2 Datacenter IIS报错
搞了半天,在github上找到了解决方案
https://github.com/dotnet/coreclr/issues/13542
解决方法是在.csproj文件中添加
<PropertyGroup>
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
</PropertyGroup>