我已经按照我的 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 上什么也不会发生;它与按 Enter 相同。不尝试做任何事情:
peteisace$ dnu restore
peteisace$
如果我尝试构建/运行/任何命令,则相同:
peteisace$ dnx . run
peteisace$
所以如果我尝试使用单声道构建我的应用程序:
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