Could not find ildasm.exe

Zeller33 picture Zeller33 · Jun 30, 2017 · Viewed 9.2k times · Source

I recently upgraded to VS 2017 and uninstalled the previous VS 2015.

However when I try and build and compile my project I keep getting and error:

Microsoft.Build.Utilities.ToolLocationHelper could not find ildasm.exe

The project uses Unmanaged Exports for C# - https://www.nuget.org/packages/UnmanagedExports

I cannot understand why this message comes up and googling has showed nothing. I have made sure that the target framework is the same >> 4.5.2. But nothing will build!!

I could only find the following directories though:

C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools

Please help, thanks

Answer

Sanjay picture Sanjay · Sep 1, 2017

update with the latest version of UnmangedExports in my case was version 1.2.7