什么是融合在.NET程序集 [英] What is Fusion in .NET Assembly

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

问题描述

在苏珊库克的博客有这样的描述:

In Suzanne Cook's blog there is such a description:

LoadFrom上下文:一般情况下,如果用户提供的融合这是用来查找程序集的路径(在那个大会   路径就不会在加载上下文中找到),然后它在   LoadFrom上下文。有多种方法,通过路径来加载:   LoadFrom(),CreateInstanceFrom(),ExecuteAssembly(),加载   使用codeBase的,等通过互操作程序集。

LoadFrom Context: In general, if the user provided Fusion a path which was used to find the assembly (and the assembly at that path wouldn't have been found in the Load context), then it's in the LoadFrom context. There are various methods to load by path: LoadFrom(), CreateInstanceFrom(), ExecuteAssembly(), loading an assembly through interop using a codebase, etc.

同时,我发现了一个关于它的MSDN文章,但我真的不知道该融合苏珊是否谈到的一样在这里:的 http://msdn.microsoft.com/en-us/library/e74a18c4(V = vs.71)的.aspx 但似乎日志查看器让我明白了什么苏珊说的是

And also I found an MSDN article about it but I am not really sure whether the Fusion Suzanne talks about is same as here: http://msdn.microsoft.com/en-us/library/e74a18c4(v=vs.71).aspx but it seems a Log viewer so what I understood what Suzanne says is

融合是一种探测机制,从路径等,并探讨   在应用基础, codeBase的,海关总署等组件将其加载到上下文。

Fusion is a probing mechanism which takes path, etc and it probes assemblies in Application Base, codeBase, GAC, etc. to load them into the context.

有些人能够澄清这好吗?

Some one can clarify this please?

推荐答案

Fusion是在.NET程序集加载器code的名字。如果没记错,苏珊娜是在融合团队,并写了很多的大会绑定日志查看器。你可以看到的codeNAME提示此程序中,因为它被称为 fuslogvw.exe

Fusion is the code name for the assembly loader in .NET. If memory serves, Suzanne was on the Fusion team and wrote much of the Assembly binding log viewer. You can see the hint of the codename in this program, as it's called fuslogvw.exe

这是融合的工作就是寻找组件,并将它们加载到当前应用程序域,这样的程序可以执行。大会绑定日志查看器显示它看起来找到组件,以及可能arrise在加载它们的任何问题。伟大的调试。

It is fusion's job to seek out assemblies and load them into the current app domain so that a program can execute. The Assembly binding log viewer shows where it looks to find assemblies, and any issues that may arrise in loading them. Great for debugging.

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

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