I am getting below error while doing rebuild project in .net

 Severity    Code    Description    Project    File    Line    Suppression State
Error        Task failed because "AxImp.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "AxImp.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\NETFXSDK\4.6.1\WinSDK-NetFx40Tools-x86. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK.  2) Install Visual Studio 2010.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task.    UI (UI\UI)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

answered by (171 points)
0 votes
Generally installing the Microsoft Windows SDK resolved this problem.


But my case was different. I manuallly uninstalled .Net framework 4 which was installed during installlation of Visual Studio. I inserted Visual Studio disk and repaired the installation. This resolved my issue.