VS2012 Tracker.exe can't find midl.exe

  • Thread starter Thread starter Tenpairsofpants
  • Start date Start date
T

Tenpairsofpants

Guest
Hi,

I've got a dynamic library project with an idl file and compile is failing with the following error

TRACKER : error TRK0005: Failed to locate: "midl.exe". The system cannot find the file specified.

I up the logging to diagnostic and noticed in the command line that it is not specifying the proper location for midl.exe.

C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\Tracker.exe /d C:\Windows\Microsoft.NET\Framework\v4.0.30319\FileTracker.dll /c midl.exe

I compared it to a separate project that works and that command line looks like the below, which leads me to believe this is project file related.

C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\Tracker.exe /d C:\Windows\Microsoft.NET\Framework\v4.0.30319\FileTracker.dll /c "C:\Program Files (x86)\Windows Kits\8.0\bin\x86\midl.exe"

What are some possible causes of the path of midl.exe being modified?

Thanks.

Continue reading...
 
Back
Top