I am getting the following run-time error:
[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]
Project settings DNX SDK version:
project.json
target frameworks:
"frameworks": {
"dnx46": { }
},
DNVM list:
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
What could be the problem?
EDIT:
I have tried to use dnx451 as specified in this post. Same problem. The environmental variable also did not help.
dnx451
. I've tried setting theDNX_IIS_RUNTIME_FRAMEWORK
environmental variable as suggest. – Dave New