levis84
levis84

Reputation: 1054

.NET Core The specified framework 'Microsoft.NETCore.App', version '1.1.2' was not found

Full log:

It was not possible to find any compatible framework version
The specified framework **Microsoft.NETCore.App**, version _1.1.2_ was not found.
  - Check application dependencies and target a framework version installed 
at:
      \
  - Alternatively, install the framework version '1.1.2'.

The browser says:

HTTP Error 502.5 - Process Failure

I am trying to run my APP on a Windows 2008 IIS 7 server. I've created a new Application Pool called NetCore and assigned it to my site.

I have .NET Core 2.0.2 SDK installed on the server. I also installed Windows Server Hosting.

My csproj is set to netcoreapp1.1

I have read all related posts on Github to no avail.

Upvotes: 4

Views: 7075

Answers (2)

Erwin
Erwin

Reputation: 11

Check the system environment variable "PATH". The path "C:\Program Files\dotnet\;" should preceed the path "C:\Program Files (x86)\dotnet\".

Upvotes: 0

Milo
Milo

Reputation: 3443

Try downloading/installing version 1.1.2 of .NET Core on your server from here. I believe you have to have the SDK version that matches your app.

Upvotes: 5

Related Questions