您的位置:首页 > 移动开发

asp.net core web app build success but fail to start up

2017-03-15 09:23 651 查看
error

The program '[35412] dotnet.exe' has exited with code -2147450749 (0x80008083).
The program '[5656] iisexpress.exe: Program Trace' has exited with code 0 (0x0).
The program '[5656] iisexpress.exe' has exited with code 0 (0x0).


solution

The issue is that you might be running an old version of the framework. Try going to the root (
project.json
) location of your runnable project and in a
Command Prompt
type:

dotnet run

D:\Git\Docs\aspnetcore\fundamentals\logging\sample\src\TodoApi>dotnet run
Project TodoApi (.NETCoreApp,Version=v1.0) was previously compiled. Skipping compilation.

The specified framework 'Microsoft.NETCore.App', version '1.1.0' was not found.

  - Check application dependencies and target a framework version installed at:

      C:\Program Files\dotnet\shared\Microsoft.NETCore.App

  - The following versions are installed:

      1.0.0

      1.0.1

  - Alternatively, install the framework version '1.1.0'.

Stackoverflow.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐