Ngen compilation RRS feed

  • Question

  • C:\Program Files (x86)\Microsoft Visual Studio 12.0>ngen install "D:\Developments\myfolder\Debug\mysoft.exe"

    I use Ngen compilation but Is it possible to convert Ngen compilation to binary compilation.

    Tuesday, March 1, 2016 7:17 AM


  • Hi Eranga Sapumal,

    When you compile your C# code, it gets compiled into an IL assembly. And NGEN takes IL assembly as an input and  installs the assembly and its dependencies into Native Image Cache.

    Per my understanding, the Ngen compilation is already the  binary compilation. There is no need to convert again.

    For more detailed  Ngen.exe (Native Image Generator) information, please refer to https://msdn.microsoft.com/en-us/library/6t9t5wcf(v=vs.110).aspx

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Kristin Xie Thursday, March 3, 2016 9:29 AM
    • Marked as answer by DotNet Wang Wednesday, March 16, 2016 12:58 AM
    Wednesday, March 2, 2016 3:17 AM