简体   繁体   中英

.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.

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM