dotnet恢复中止而不会出错

时间:2016-12-09 08:28:50

标签: centos asp.net-core .net-core

在CentOS上,dotnet restore中止而没有错误:

dotnet --verbose restore

Telemetry is: Enabled
log  : Restoring packages for /home/forexsb/testapp/project.json...
Aborted

这是我的环境信息:

dotnet --info

.NET Command Line Tools (1.0.0-preview2-1-003177)

Product Information:
 Version:            1.0.0-preview2-1-003177
 Commit SHA-1 hash:  a2df9c2576

Runtime Environment:
 OS Name:     centos
 OS Version:  7
 OS Platform: Linux
 RID:         centos.7-x64

这是我的project.json内容:

{
   "version": "1.0.0-*",
   "buildOptions": {
     "debugType": "portable",
     "emitEntryPoint": true
   },
   "dependencies": {
     "Microsoft.AspNetCore.Server.Kestrel": "1.1.0"
   },
   "frameworks": {
     "netcoreapp1.1": {
       "dependencies": {
         "Microsoft.NETCore.App": {
           "type": "platform",
           "version": "1.1.0"
         }
       }
     }
   }
}

任何想法如何解决?

0 个答案:

没有答案