-
Notifications
You must be signed in to change notification settings - Fork 171
Microsoft.ApplicationInsights.AspNetCore.dll is missing #286
Comments
We don't currently support Ubuntu 16 docker images. Can you explain in more detail what you've done to encounter this error? See https://github.com/aspnet/aspnet-docker/blob/master/.github/ISSUE_TEMPLATE |
I get the same error when trying to run my app from the |
As mentioned by the answer on this thread I fixed this error by incorporating the following run command in my Dockerfile. Should work for anyone using the Runtime instead of the SDK: |
@heuristicAL You can save yourself the trouble by using aspnet-docker/2.0/stretch/runtime/Dockerfile Lines 1 to 12 in 03260d7
@ZOXEXIVO I'm closing for now as I don't have enough information to resolve your issue. If you are getting this error trying to use |
What's the workaround for trying to run an ASP.NET Core 2.0 application on a Raspberry Pi running Ubuntu 16.04? I'm not sure if the runtime store will work if it's targeting |
Workaround: Don't use AspNetCore.All.dll and include only used packages |
I thought Raspberry Pi was linux-arm32, not linux-x64. ASP.NET Core doesn't support linux-arm32 yet. aspnet/Universe#554 |
Worked fine after I made it a self-contained app by adding
|
Workaround also works for Ubuntu. Seems like you have to specify your target runtime environment: dotnet publish -c release -o publish -r linux-x64 This is not the case when using the SDK |
"-r linux-x64" Fixed it for me. |
Ubuntu 16.04
Used many runtimes, but result is same:
Error:
An assembly specified in the application dependencies manifest (*****.Web.deps.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
The text was updated successfully, but these errors were encountered: