.NET Fusion logger: What is the difference between Default and Native Images?
Asked Answered
A

1

8

In the .NET fusion logger (FUSLOGVW.exe) what do the two options in the lower right of the screen do?

 Log Categories
  + Default
  + Native Images

And how can I use either one to diagnose a mixed-mode assembly problem?

Attentive answered 28/7, 2010 at 13:7 Comment(2)
possible duplicate of What is the meaning of Default/NativeImage in fuslogvw?Coriolanus
The questions ARE similar, but the accepted answer starts with "I think." This one already has a much more detailed answer.Attentive
F
7

Native images are the files generated by ngen.exe. It contains pre-compiled machine code for an assembly, so that the JIT compiler isn't needed. All .NET framework assemblies are ngen-ed. They have the .ni.dll filename extension.

You are typically not interested in them if you are trying to troubleshoot an assembly resolution problem. But you can see them getting loaded if you choose "Native Images" instead of "Default".

Festschrift answered 28/7, 2010 at 13:12 Comment(2)
Where do mixed mode assemblies fall between those options?Attentive
They are just another assembly that contains IL. Fusion doesn't care about the unmanaged bits in it.Festschrift

© 2022 - 2024 — McMap. All rights reserved.