Search code examples
c#windows-10midl

WIndows 10 MIDL.exe


I need to convert some IDL files to C# class/Interfaces.

I am not able to get the MIDL.exe compiler. I am running windows 10, and I have few Visual studio versions installed on my machine, I also download and install the Microsoft SDK but I am not able to find the MIDL.exe binary any where.

C:\Program Files (x86)\Windows Kits\8.1\bin\x86

or

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin

No clue where this binary is...


Solution

  • Open a Developer Command Prompt and type where midl.

    On my computer it's here:

    C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86

    Install from here: Windows 10 SDK