.Net Core 控制台程序错误:Can not find runtime target for framework '.NETCoreApp,Version=v1.0' compatible with one of the target runtimes: 'win10-x64, win81-x64, win8-x64, win7-x64'.

.Net Core 控制台程序错误:Can not find runtime target for framework '.NETCoreApp,Version=v1.0' compatible with one of the target runtimes: 'win10-x64, win81-x64, win8-x64, win7-x64'.

 

解决方法:

在项目文件project.json里添加:

 "runtimes": {
    "win10-x64": {} } 

 

posted @ 2016-08-11 15:07  94cool  阅读(1940)  评论(0)    收藏  举报