c# - 任务在 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
解决方案
推荐阅读
- html - 如何在加载时使用默认值显示 mat-select
- angular - 接收 adal-angular4/index.d.ts,找到版本 4,使用 adal-angular4 v 4.0.12 和 angular v 4.0.1 时预期出现 3 错误
- css - -webkit-clip-path 不适用于 Chrome?
- compilation - 编译错误,Elixir 中的未定义函数
- c# - 通过 post 方法将泛型值绑定回控制器
- typescript - 元素隐式具有“任何”类型,因为“字符串”类型的表达式不能用于索引类型
- php - 想在 Laravel的 {{$value['category']}} 中添加 {{$ value['category']}}
- mysql - SQL Query - 为不同的名称添加最大条件
- java - 内置异常长度比预期的短?
- requirejs - 如何控制 requirejs 设置的请求标头?