I have a web application set with Target framework .NETCoreApp1.1
It works when I run locally, but when I publish to the server (I'm working remotely and can't web publish - instead I publish to file system, zip the file and extract on the server)
When I start in IIS it fails with:
"Application 'MACHINE/WEBROOT/APPHOST/MYAPP' with physical root 'D:\Websites\MyApp\' failed to start process with commandline '"dotnet" .\MyApp.dll', ErrorCode = '0x80004005 : 80008083.
Running manually from my app folder
"dotnet ./MyApp.dll"
It was not possible to find any compatible framework version The specified framework 'Microsoft.NETCore.App', version '1.1.1' was not found. - Check application dependencies and target a framework version installed at: \ - Alternatively, install the framework version '1.1.1'.
In C:\Program Files\dotnet\sdk:
- 1.0.1
- 1.0.4
In C:\Program Files\dotnet\shared\Microsoft.NETCore.App:
- 1.0.4
- 1.0.5
- 1.1.1
- 1.1.2
- 2.0.0
Can anyone explain what I might be missing?
Thanks