.NET CORE2.2 发布IIS报错 An assembly specified in the application dependencies manifest was not found

发布NET CORE 2.2到windows server 2008 R2 Datacenter IIS报错
搞了半天,在github上找到了解决方案

https://github.com/dotnet/coreclr/issues/13542

解决方法是在.csproj文件中添加

<PropertyGroup>
  <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
</PropertyGroup>

https://www.cnblogs.com/ruyun/p/13958248.html

原文地址:https://www.cnblogs.com/ruyun/p/13958248.html