locked
How can I know if my application is pure .NET ? RRS feed

  • Question

  •  

    Hello

     

    Considering that I use third party components, how can I know for sure if my whole application is made up of full managed code?

     

    Thanks a lot.

    Tuesday, April 22, 2008 12:30 PM

Answers

  • Hello,

     

    You can go through all your components (incl. 3rd party components) and run corflags.exe (tool from .NET Framework SDK, it's also part of Visual Studio installation) on each of them.

    When you run 'corflags.exe component.dll' on a component, the output contains either:

    ILONLY    : 1

    if the component is pure managed, or

    ILONLY    : 0

    if the component is mixed-mode (i.e. contains native code).

     

    I hope it helps,

    -Karel

    Tuesday, April 22, 2008 3:47 PM
    Moderator