首页 > 解决方案 > 任务在 Linux 上的 Rider 中找不到“AxImp.exe”

问题描述

我切换到 Linux 并想使用 Rider 构建一个 WinForm 项目,这是我在 Windows 上使用 Visual Studio 2019 制作的。

加载项目不是一个大问题,因为安装了 .NET Core 和 Mono,但是构建项目最终会出现以下错误消息

 Microsoft.Common.CurrentVersion.targets(2721, 5): [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

标签: c#linuxrider

解决方案


推荐阅读