问题描述
有谁知道如何使一个自定义的工作与股票的? ?如何发现现有的CLR和BCL之间最重要的纽带和重用他们。
Does anybody know how to make a custom BCL work with the stock CLR? How to discover existing the most essential ties between CLR and BCL and reuse them?
下面是我到目前为止有:的
Here is what I have so far: http://lightnet.codeplex.com
推荐答案
考虑到的意见,这听起来像要使用股票CLR使用自定义BCL。
Given the comments, it sounds like you want to use the stock CLR with a custom BCL.
我的高的怀疑,将工作。 CLR和BCL可能有与对方相当多的联系 - 他们会作出一定的实施预期,并依靠他们,而不是无理。例如,CLR可能依赖于某些内部类型,你不会知道。
I highly doubt that that will work. The CLR and BCL are likely to have quite a few ties with each other - they will make certain implementation expectations, and rely on them, not unreasonably. For example, the CLR may rely on certain internal types which you wouldn't know about.
如果你设法获取股票CLR一起工作,我会感到惊讶合理你自己的BCL的实现,但它很可能是显著更易于实现自定义的BCL的单声道运行时的工作 - 至少还有你可以调试这是怎么回事,如果你遇到问题
I would be reasonably surprised if you managed to get the stock CLR to work with your own BCL implementation, although it would probably be significantly simpler to implement a custom BCL to work with the Mono runtime - at least there you can debug what's going on if you run into problems.
这篇关于如何创建一个自定义的.NET基础类库(BCL)又名mscorlib程序替换?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!