Do not add the net451 object. Use this inside the project.json file:
{ "compilationOptions": { "languageVersion": "experimental"}, "dependencies": { }, "commands": { } }
I believe that they also changed the default value in the latest version of the engine. therefore, the item is no longer needed if you upgrade tje kvm to the latest version.
see https://github.com/aspnet/KRuntime/pull/512
Upgrade can be done by updating kvm at the command line.
see https://github.com/aspnet/Home/wiki/version-manager
NTN, Bart
source share