我在Visual Studio中添加了默认的ASP.NET Core项目。我没有做任何事情发布该项目并将其部署在Windows Server 2012 RC2上。 我已经安装DotNetCore'NETCore.App',版本'1.0.0-rc2-3002702'未找到
我配置了IIS,但是当我运行该项目时,我会得到一个错误。
The specified framework 'Microsoft.NETCore.App', version '1.0.0-rc2-3002702' 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
- Alternatively, install the framework version '1.0.0-rc2-3002702'.
请帮
你确定你安装了[.NET核心SDK(HTTPS: //go.microsoft.com/fwlink/?LinkID=809122)在服务器计算机上? –
DotNetCore.1.0.0-WindowsHosting目前安装在服务器上。我已阅读此页面上的配置/安装指南https://docs.asp.net/en/latest/publishing/iis.html#install-the-net-core-windows-server-hosting-bundle –
现在我已经安装了NET Core SDK,但结果相同。在事件日志中,我发现此消息: 无法使用命令行“”dotnet“\ Website.dll”启动进程,ErrorCode ='0x80004005'。 –