私は窓ubuntu16.04のための10で.NETコア2.0プロジェクトを公開する:アセンブリが見つかりませんでした「Microsoft.ApplicationInsights.AspNetCore」
dotnet build
dotnet publish -c Release -r ubuntu.16.04-x64
ビルドとpulishプロジェクトと実行後それはUbuntuので、私はこのエラーを参照してください。
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>
しかし、解決していない:(
私は、.NETコアでこの問題を持っていませんでしたが1
を参照してください。 'NuGet'の依存関係がダウンロードされるように' dotnet restore'を実行しようとしましたか? –
はい、試しましたが、同じエラーが発生します... このファイル(Microsoft.ApplicationInsights.AspNetCore.dll)はパブリッシュフォルダにありますが、ubuntu16.04にはエラーがあります... –