An assembly specified in the application dependencies manifest (xxxxx.json) was not found:

错误信息:
Error:
An assembly specified in the application dependencies manifest (xxxxx.json) was not found:
package: 'Microsoft.ApplicationInsights.AspNetCore', version: '2.1.1'
path: 'lib/netstandard1.6/Microsoft.ApplicationInsights.AspNetCore.dll'
This assembly was expected to be in the local runtime store as the application was published using the following target manifest files:
aspnetcore-store-2.0.0-linux-x64.xml;aspnetcore-store-2.0.0-osx-x64.xml;aspnetcore-store-2.0.0-win7-x64.xml;aspnetcore-store-2.0.0-win7-x86.xml
解决方案:
项目文件 ******.csproj 添加如下代码后重新发布即可

false

原文地址:https://www.cnblogs.com/suizhikuo/p/12288319.html