什么是Microsoft.csharp.dll在.NET 4.0中 [英] What is Microsoft.csharp.dll in .NET 4.0

查看:293
本文介绍了什么是Microsoft.csharp.dll在.NET 4.0中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此DLL默认情况下,在Visual Studio 2010中的项目加入。这是什么新的组装用?它似乎并没有考虑使用反射器和谷歌似乎并不具备太多的话要说,要么后含有太多。

This DLL is added by default in Visual Studio 2010 projects. What is this new assembly used for? It does not seem to contain much after looking at it using Reflector and Google does not seem to have much to say about it either.

推荐答案

它是用来当/如果你使用的 动态关键字在您的项目。该组件包含了C#运行时绑定。

It is used when/if you use the dynamic keyword in your project. The assembly contains the C# runtime binder.

C#编译器实际上已经被提取出来到库中,以便它可以发出,编译和运行code需要支持动态关键字。当您第一次在code使用动态,该组件(以及System.dll中,System.Core.dll的和System.Dynamic.dll)将得到加载到AppDomain中。

The C# compiler has essentially been extracted out into a library so that it can emit, compile and run code needed to support the dynamic keyword. The first time you use dynamic in your code, this assembly (as well as System.dll, System.Core.dll and System.Dynamic.dll) will get loaded into your AppDomain.

这篇关于什么是Microsoft.csharp.dll在.NET 4.0中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆