question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Got 'Task could not find "AxImp.exe"' error on both OSX and Ubuntu

See original GitHub issue

Environment data

dotnet --info output: .NET Command Line Tools (2.0.0)

Product Information: Version: 2.0.0 Commit SHA-1 hash: cdcd1928c9

Runtime Environment: OS Name: Mac OS X OS Version: 10.12 OS Platform: Darwin RID: osx.10.12-x64 Base Path: /usr/local/share/dotnet/sdk/2.0.0/

Microsoft .NET Core Shared Framework Host

Version : 2.0.0 Build : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

VS Code version: 1.14.2 (1.14.2) C# Extension version: 1.12.1

Steps to reproduce

Hi all! I’m new to c#, and I’m trying to build and run an existing .NET project

First I tried to use vscode with c# extension on Linux, I’ve installed both mono and dotnet, and both command can be execute from command line, but in vscode, I get these errors and no Intelli sense in the editor:

 [fail]: OmniSharp.MSBuild.ProjectFile.ProjectFileInfo
        Task could not find "AxImp.exe" using the SdkToolsPath "/" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\NETFXSDK\4.7\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed

It’s really confusing because I can’t locate the file AxImp.exe anywhere in my computer. Looks like the extension is treating me like a an Windows machine or something ?

After that I switched to OSX and got the same issue, which is really strange to me.

FIY: I can build the .NET project on Ubuntu using MonoDevelop( but I really want to develop it with VSCode! ), so I guess I’ve already installed all requirements in my Ubuntu machine.

Thanks for help and sorry for my English 😃

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bkaatzcommented, Aug 10, 2018

@DustinCampbell : Thank you for your response! I had Mono and dotnetcore-sdk installed, but was missing MSBuild. Thanks again for your quick response and assistance.

0reactions
cartermpcommented, Sep 15, 2020

Will close this out as a wontfix for now, since the scenario of WinForms on Mono is going to be considered out of scope.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Task could not find "AxImp.exe" - Stack Overflow
targets(1558,9): warning MSB3084: Task attempted to find "AxImp.exe" in two locations. 1) Under the "C:\Program Files\Microsoft SDKs\Windows\v7.
Read more >
Got 'Task could not find "AxImp.exe"' error on both OSX and ...
After that I switched to OSX and got the same issue, which is really strange to me. FIY: I can build the .NET...
Read more >
Build fails due to AxImp.exe missing - C# - Travis CI Community
CurrentVersion.targets(2721,5): error MSB3086: Task could not find "AxImp.exe" using the SdkToolsPath "/usr/lib/mono/4.5/" or the registry ...
Read more >
Task failed because "AxImp.exe" was not found, or the correct ...
My Solution is built for "AnyCPU" and ".NET Framework 4" target framework. When I try to build in Team Explorer, I get this...
Read more >
Task could not find "AxImp.exe" using the SdkToolsPath
Hi all,. I am new to use vs for MAC, i just download and install the vs for MAC and then open the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found