ASP.NET Core 2: missing ApplicationInsights

前端 未结 5 1629
感动是毒
感动是毒 2021-02-01 16:03

I am publishing ASP.NET Core 2 application and seeing the following error.

Error:
  An assembly specified in the application dependencies manifest (MyApp.deps.js         


        
5条回答
  •  北海茫月
    2021-02-01 16:52

    Make sure your project have matching versions for Microsoft.NETCore.App (your project target framework) and Microsoft.AspNetCore.All (NuGet dependency included by default for .NET Core 2.0 projects) or Microsoft.AspNetCore.App (for .NET Core 2.1+ projects).

    If you've ever updated your project target framework from .NET Core 2.0 to .Net Core 2.1, remember to update your NuGet dependencies accordingly, as they won't got updated automatically.

提交回复
热议问题