我希望CoreCLR团队中的某个人能够进入Stacks。我对CoreCLR非常兴奋。我试着用命令编译:
C:\coreclr-demo>csc /nostdlib /noconfig /r:packages\System.Runtime.4.0.20-beta-2
2703\lib\contract\System.Runtime.dll /r:packages\System.Console.4.0.0-beta-22703
\lib\contract\System.Console.dll /out:runtime\HelloWorld.exe HelloWorld.cs
这是工作。
但是,如果我将我的代码更改为Collection(List,Stack ...)对象,它将通过错误,某些The type or namespace name 'Stack' could not be found
,但是,每当我尝试使用除{{1}之外的任何命名空间时,我都会收到此错误}。
我想可能是我错过了 csc 命令中对System.Collection.Generic的库引用。但我不知道在哪里找到它,从an post in CoreCLR github talk about Generic开始,我认为System
已从CoreCLR中移除。所以我想问一下:CoreCLR是否支持System.Collection.Generic
,如果是,我如何在编译时使用它?
三江源
答案 0 :(得分:1)
dnx
或dotnet