DotNetCore跨平台~问题~NETCoreAPP, Version=v1.0' compatible with one of the target runtimes: 'win10-x64
2017-07-12 13:26
435 查看
回到目录
新建console项目之后,编译程序出现以下错误:
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'. Possible causes:
The project has not been restored or restore failed -run 'dotnet restore'
The project does not list one of 'win10-x64, win81-x64, win7-x64' in the 'runtimes'
解决方案:
打开project.json
将以下代码添加到根节点
"runtimes": {
"win10-x64": {}
},
添加后的样子如下:
以上问题就可以得到解决了,事实上就是告诉dotnet core 这个项目要在64位的windows上运行!
回到目录
新建console项目之后,编译程序出现以下错误:
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'. Possible causes:
The project has not been restored or restore failed -run 'dotnet restore'
The project does not list one of 'win10-x64, win81-x64, win7-x64' in the 'runtimes'
解决方案:
打开project.json
将以下代码添加到根节点
"runtimes": {
"win10-x64": {}
},
添加后的样子如下:
以上问题就可以得到解决了,事实上就是告诉dotnet core 这个项目要在64位的windows上运行!
回到目录
相关文章推荐
- .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'. Possible causes:
- .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'.
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used.
- android问题 This version of android studio is incompatible with the gradle version used.
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try d
- The provider is not compatible with the version of Oracle client
- Android 解决Error running app: This version of Android Studio is incompatible with the Gradle Plugin
- android Error running app: This version of Android Studio is incompatible with the Gradle Plugin use
- You cannot run the non-logged version of bulk copy in this database. Please check with the DBO. 问题的解决方法
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try d
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try
- Error:A problem was found with the configuration of task ':app:packageDebug' 问题解决
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used.
- Android studio 运行出现Error running app: This version of Android Studio is incompatible with the Gradle
- The provider is not compatible with the version of Oracle client
- Android studio 运行出现Error running app: This version of Android Studio is incompatible with the Gradle
- The provider is not compatible with the version of Oracle client
- mvn install Geoserver under ubuntu10.04 时遇到的错误:the API of the mojo scanner is not compatible with this plugin version. 的解决方法