# Build fails due to AxImp.exe missing

**URL:** <https://travis-ci.community/t/build-fails-due-to-aximp-exe-missing/9832>\
**Category:** C#\
**Created:** [September 6, 2020, 12:45am UTC](https://travis-ci.community/t/build-fails-due-to-aximp-exe-missing/9832 "2020-09-06T00:45:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tryallthethings](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@tryallthethings](https://travis-ci.community/u/tryallthethings)\
**Post date:** [September 6, 2020, 12:45am UTC](https://travis-ci.community/t/build-fails-due-to-aximp-exe-missing/9832/1 "2020-09-06T00:45:34Z")

</div>

@joshua-anderson @akoeplinger

Hello,

I just added a new repo to Travis and re-used my .travis.yml from another C# project and just updated the .sln filename. But the new repo build always fails due to `AxImp.exe`missing or being in two locations. I’m not familiar enough with the process to debug this:

```
/usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2721,5): warning MSB3084: Task attempted to find "AxImp.exe" in two locations. 1) Under the "/usr/lib/mono/4.5/" processor specific directory which is generated based on SdkToolsPath 2) The x86 specific directory under "/usr/lib/mono/4.5/" which is specified by the SDKToolsPath property. You may be able to solve the problem by doing one of the following: 1) Set the "SDKToolsPath" property to the location of the Microsoft Windows SDK. [/home/travis/build/tryallthethings/Discord-Disco/DiscordDisco/DiscordDisco.csproj]

1283/usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2721,5): error MSB3086: Task could not find "AxImp.exe" using the SdkToolsPath "/usr/lib/mono/4.5/" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\NETFXSDK\4.8\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 [/home/travis/build/tryallthethings/Discord-Disco/DiscordDisco/DiscordDisco.csproj]

1284Done Building Project "/home/travis/build/tryallthethings/Discord-Disco/DiscordDisco/DiscordDisco.csproj" (default targets) -- FAILED.

1285Done Building Project "/home/travis/build/tryallthethings/Discord-Disco/DiscordDisco.sln" (default targets) -- FAILED.

```

Could you please have a look?

[https://travis-ci.org/github/tryallthethings/Discord-Disco](https://travis-ci.org/github/tryallthethings/Discord-Disco)

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [September 6, 2020, 8:51am UTC](https://travis-ci.community/t/build-fails-due-to-aximp-exe-missing/9832/2 "2020-09-06T08:51:36Z")

</div>

As per

> <https://stackoverflow.com/questions/58682516/aximp-exe-not-found-when-trying-to-build-c-solution-in-monodevelop>

(2nd in Google on “mono AxImp.exe”)

> `Aximp.exe` is Windows only, there are no ActiveX controls on Linux or macOS.

---

<div class="post-metadata">

**Author:** ![tryallthethings](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@tryallthethings](https://travis-ci.community/u/tryallthethings)\
**Post date:** [September 6, 2020, 1:48pm UTC](https://travis-ci.community/t/build-fails-due-to-aximp-exe-missing/9832/3 "2020-09-06T13:48:06Z")

</div>

I’m not using any ActiveX-Control in my project and I couldn’t find any ActiveX reference in the additional library I added.

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [September 6, 2020, 9:44pm UTC](https://travis-ci.community/t/build-fails-due-to-aximp-exe-missing/9832/4 "2020-09-06T21:44:57Z")

</div>

> <https://stackoverflow.com/questions/50178523/project-not-found-and-object-reference-not-set-to-an-instance-of-an-object-i>

> You have `COMReference` in your project. It’s not supported on non-Windows platform.

---

<div class="post-metadata">

**Author:** ![tryallthethings](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@tryallthethings](https://travis-ci.community/u/tryallthethings)\
**Post date:** [September 6, 2020, 10:33pm UTC](https://travis-ci.community/t/build-fails-due-to-aximp-exe-missing/9832/5 "2020-09-06T22:33:52Z")

</div>

Thank you! That COMReference was an not used Reference to the Windows Media Player library. Removing it fixed the issue.
