我在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'。 –