.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:
2016-09-15 13:19
525 查看
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'
今天遇到这个问题是在升级程序包的时候,在stackoverflow上找到答案
在restore尝试成功后
在project.json添加如下配置:如果你是win7 8就自行修改
这个配置不是内层节点,而是在json的根{}中
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'
今天遇到这个问题是在升级程序包的时候,在stackoverflow上找到答案
在restore尝试成功后
在project.json添加如下配置:如果你是win7 8就自行修改
"runtimes": { "win10-x64": {} }
这个配置不是内层节点,而是在json的根{}中
相关文章推荐
- .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'.
- DotNetCore跨平台~问题~NETCoreAPP, Version=v1.0' compatible with one of the target runtimes: 'win10-x64
- 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
- The provider is not compatible with the version of Oracle client
- Error running app.main: This version of Android Studio is incompatible with the Gradle Plugin used.
- Nuget自己打包引用的时候出现错误:Package is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package 1.0.1 supports: net (.NETFramework,Version=v0.0)
- 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 d
- The provider is not compatible with the version of Oracle client sometimes (提供程序与此版本的 Oracle 客户机不兼容)
- Android studio 运行出现Error running app: This version of Android Studio is incompatible with the Gradle
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used.
- android Error running app: This version of Android Studio is incompatible with the Gradle Plugin use
- 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
- mvn install Geoserver under ubuntu10.04 时遇到的错误:the API of the mojo scanner is not compatible with this plugin version. 的解决方法
- The provider is not compatible with the version of Oracle client
- 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