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 (
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.
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 Prompttype:
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.
相关文章推荐
- HOW TO Set Up Multi-Server ASP.NET Web Applications and Web Services
- Create an ASP.NET Core web app in Visual Studio Code
- ASP.Net DebugError解决方案[转]:Unable to start debugging on the web server.Debugging failes because integrated Windows authentication is not enabled.
- Nexus 启动失败 nexus-webapp service was launched, but failed to start.
- Nexus启动失败The nexus-webapp service was launched, but failed to start.
- How to build Multi-Language Web Sites with ASP.NET 2.0 and VS.Net 2005
- 详解在Azure上部署Asp.NET Core Web App
- ASP.NET Core Web App应用第三方Bootstrap模板的方法教程
- win7下启动nexus报错:The nexus-webapp service was launched, but failed to start解决
- Azure 部署 Asp.NET Core Web App
- nexus资源库在安装完毕,启动时有时会出现:The nexus-webapp service was launched, but failed to start."错误
- Nexus 启动失败 nexus-webapp service was launched, but failed to start.
- ASP.NET 4 Child Applications Fail to Start When Under ASP.NET 2.0 or ASP.NET 3.5 Applications
- How to build Multi-Language Web Sites with ASP.NET 2.0 and VS.Net 2005
- Azure 部署 Asp.NET Core Web App
- Nexus启动失败The nexus-webapp service was launched, but failed to start. .
- Azure 部署 Asp.NET Core Web App
- ASP.NET development server failed to start listening on port (dynamic port) & Error Unable to connect to Visual Stutio's localhost web server
- Asp.net Ajax的start和web.config配置
- 开发ASP.NET 2.0 Web应用程序时如何将App_Code文件夹中的共享代码配置生成多个Dll