assembly specified in the dependencies manifest was not found 'Microsoft.ApplicationInsights.AspNetCore'

assembly specified in the dependencies manifest was not found 'Microsoft.ApplicationInsights.AspNetCore'

发布后提示:

Error: assembly specified in the dependencies manifest was not found ‘Microsoft.ApplicationInsights.AspNetCore’, version: 'x.x', path: ‘lib/netstandard1.3/Microsoft.ApplicationInsights.AspNetCore.dll’

项目文件添加:

<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>

 

留言