我已经按照mac上的说明安装了dnvm,coreclr:
http://docs.asp.net/en/latest/getting-started/installing-on-mac.html
如果我调用列表
peteisace$: dnvm list
Active Version Runtime Arch OperatingSystem Alias
------ ------- ------- ---- --------------- -----
1.0.0-beta6 mono linux/darwin
* 1.0.0-beta7-12302 coreclr x64 darwin
1.0.0-beta7-12302 mono linux/darwin default所以看起来dnxcore50已经安装好了..。
然而,如果我尝试恢复、构建、运行,在coreclr上什么也没有发生;它就像按回车键一样。不尝试做任何事情:
peteisace$ dnu restore
peteisace$如果我尝试构建/运行/无论有什么命令,都是一样的:
peteisace$ dnx . run
peteisace$因此,如果我尝试使用mono构建我的应用程序:
peteisace$ dnvm use 1.0.0-beta7-12302 -r mono
peteisace$ System.InvalidOperationException: The current runtime target framework is not compatible with 'sampleConsole'.
Current runtime target framework: 'DNX,Version=v4.5.1 (dnx451)'
Version: 1.0.0-beta7-12302
Type: Mono
Architecture: x64
OS Name: Darwin任何建议都将受到欢迎。我不知道如何验证coreclr是否安装正确。将填充运行时目录:
$peteisace ls -l ~/.dnx/runtimes/dnx-coreclr-darwin-x64.1.0.0-beta7-12302/
/Users/peteisace/.dnx/runtimes/dnx-coreclr-darwin-x64.1.0.0-beta7-12302/:
total 8
drwxr-xr-x 108 peteisace peteisace 3672 Aug 4 09:29 bin
-rw-r--r-- 1 peteisace peteisace 725 Aug 4 09:55 dnx-coreclr-darwin-x64.nuspec
drwxr-xr-x 3 peteisace peteisace 102 Aug 4 09:29 package发布于 2015-08-12 07:44:22
dnx在Darwin/Linux CoreCLR上的性能仍然很差。
当你遇到使用最新dnx版本的bug时,你可能会更幸运地联系dnx团队,在他们的GitHub repo上提交一个问题。
DNX on GitHub
发布于 2015-09-18 21:22:14
从beta7开始,CoreCLR上的DNX应该会更好。这个问题是在8月份提出的,beta 7在9月1日左右发布。您现在可以在相同的链接上尝试说明吗?
https://stackoverflow.com/questions/31902790
复制相似问题