我收到以下运行时错误:
[InvalidOperationException: The current runtime target framework is not compatible with 'TestDeployProject'.
Current runtime Target Framework: 'DNX,Version=v4.5 (dnx45)'
Type: CLR
Architecture: x86
Version: 1.0.0-beta6-12256
Please make sure the runtime matches a framework specified in project.json]
项目设置 DNX SDK 版本:
project.json
目标框架:
"frameworks": {
"dnx46": { }
},
DNVM 列表:
Active Version Runtime Architecture OperatingSystem Alias
------ ------- ------- ------------ --------------- -----
1.0.0-beta6 clr x64 win
* 1.0.0-beta6 clr x86 win latest
1.0.0-beta6 coreclr x64 win default
可能是什么问题呢?
编辑:
我已尝试使用本文中指定的dnx451。同样的问题。环境变量也没有帮助。