什么是 .NET Assembly 中的 Fusion [英] What is Fusion in .NET Assembly

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

问题描述

在 Suzanne Cook 的博客中有这样一段描述:

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

LoadFrom Context: 通常,如果用户提供了 Fusion 用于查找程序集(以及该程序集所在的程序集)的路径在 Load 上下文中找不到路径),然后它在LoadFrom 上下文.按路径加载有多种方法:LoadFrom()、CreateInstanceFrom()、ExecuteAssembly(),加载一个使用代码库等通过互操作进行组装

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 文章,但我不确定 Fusion Suzanne 谈论的是否与此处相同: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

Fusion 是一种采用路径等的探测机制,它探测Application Base、codeBase、GAC 等中的程序集以将它们加载到上下文中.

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.

有人可以澄清一下吗?

推荐答案

Fusion 是 .NET 中程序集加载器的代号.如果没记错的话,Suzanne 是 Fusion 团队的一员,撰写了大部分 程序集绑定日志查看器.你可以在这个程序中看到代号的提示,因为它叫做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

fusion 的工作是寻找程序集并将它们加载到当前应用程序域中,以便程序可以执行.程序集绑定日志查看器显示它在何处查找程序集,以及加载它们时可能出现的任何问题.非常适合调试.

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 Assembly 中的 Fusion的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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