Search code examples
c++visual-studiocompiler-constructionbuildvisual-studio-2013

What is the default path to the MIDL Compiler in Visual Studio?


As the question states, what is the default path to the MIDL Compiler in Visual Studio 2013 (or previous versions) for those who want to manually run it from the command line to build IDL files?


Solution

  • It depends on the Platform Toolset you have selected for a project. The default one (v120) takes you to c:\program files (x86)\windows kits\8.1\bin\x86\midl.exe. If you target XP (v120_xp) then you get c:\program files (x86)\microsoft sdks\windows\v7.1a\bin\midl.exe

    You normally don't care and use the Visual Studio Command Prompt.