.NET nanoframework:程序集引用无法解析

.NET nanoframework: Assembly references cannot be resolved

我正在尝试将 Iot.Device.Bmxx80 库用于我的 ESP32-WROOM 开发板的一个非常简单的项目。但是,我无法在我的系统上部署和 运行 它,因为系统似乎无法在设备上加载必要的程序集。

要重现它,只需创建一个新的空白 .NET nanoframework 项目并添加以下 NuGet 包(默认程序就足够了 - 无需更改):

之后就是运行单片机上的应用

在输出选项卡中,我得到以下错误输出,在所有库都部署到它之后:

    Resolving.
Link failure: some assembly references cannot be resolved!!

Assembly: Iot.Device.Bmxx80 (1.0.0.0) needs assembly 'UnitsNet.Pressure' (1.0.0.0)
Assembly: Iot.Device.Bmxx80 (1.0.0.0) needs assembly 'UnitsNet.Temperature' (1.0.0.0)
Assembly: Iot.Device.Bmxx80 (1.0.0.0) needs assembly 'UnitsNet.RelativeHumidity' (1.0.0.0)
Assembly: Iot.Device.Bmxx80 (1.0.0.0) needs assembly 'UnitsNet.Length' (1.0.0.0)
Assembly: Iot.Device.Bmxx80 (1.0.0.0) needs assembly 'UnitsNet.Duration' (1.0.0.0)
Assembly: Iot.Device.Bmxx80 (1.0.0.0) needs assembly 'UnitsNet.ElectricResistance' (1.0.0.0)
Error: a3000000
Waiting for debug commands...
The program '[1] .NET nanoFramework application: Managed' has exited with code 0 (0x0).

知道我做错了什么吗?

正如 Jose 已经提到的,这是一个已在提到的 GitHub 问题中修复的错误。代码现在运行良好。