Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ASP .NET Core 2.0.0 running on SDK 2.1.0 not working - Linux

See original GitHub issue

Steps to reproduce

Install dotnetcore.linux.x86.sdk-2.1.300-x64.tar.gz on RHEL.

Build a ASP .NET Core 2.0.0 app using SDK 2.0.0

Expected behavior

ASP .NET Core app should run on Linux with on ASP .NET Core 2.1.300

Actual behaviour

An assembly specified in the application dependencies manifest (apihost.deps.j son) 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;aspn etcore-store-2.0.0-win7-x64.xml;aspnetcore-store-2.0.0-win7-x86.xml

Environment data

dotnet --info output:

Host (useful for support):
Version: 2.1.0
Commit: caa7b7e2ba

.NET Core SDKs installed:
2.1.300 [/opt/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.0 [/opt/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.0 [/opt/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.0 [/opt/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

rezvanfcommented, Jun 23, 2018

@steveharter i am a bit confused by the reponse as in issue 24090

It is suggested this specific scenario was tested and it was possible.


dasMullicommented, Jun 22, 2018

Also, on linux you may need to install the core runtime store in addition to the 2.0 .net core runtime, depending on which instructions you followed. I suggest installing a 2.1.2xx SDK in addition to 2.1.300/301 since it should install everything you need (but there’s no need to use that SDK version).

Read more comments on GitHub >

github_iconTop Results From Across the Web

The current .NET SDK does not support targeting . ...
I resolved the problem. the cause was that i installed. aspnetcore-runtime-2.1.0-preview1-final-win-x64 and .net core SDK 2.1.4-x64 versions ...
Read more >
Download .NET Core 2.1 (Linux, macOS, and Windows)
NET Core 2.1 downloads for Linux, macOS, and Windows. ... Not sure what to download? ... The ASP.NET Core Runtime enables you to...
Read more >
NET Core 2.1.0
The .NET Core SDK 2.1 includes .NET Core 2.1 Runtime so downloading the runtime packages separately is not needed when installing the SDK....
Read more >
Installing the ASP.NET Core 2.0 runtime store on Linux
This is a quick post to show how to manually install the ASP.NET runtime store on a production Linux server. Failure to do...
Read more >
.NET core vs .NET framework
NET Core is used to create server applications that run on Windows, Linux and Mac. It does not currently support creating desktop applications...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found