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
I have resolved this issue by installing nuget package
"Microsoft.AspNetCore.ApplicationInsights.HostingStartup"