[英]Microsoft.azure.devices.client version for .net core 1.1
I have a .Net 4.5.2 project that works with Azure IoT hub. 我有一个与Azure IoT中心配合使用的.Net 4.5.2项目。 I'm trying to use the same code in a .Net core 1.1 (or Core 1.0) project but the package is not compatible.
我正在尝试在.Net core 1.1(或Core 1.0)项目中使用相同的代码,但该软件包不兼容。 Is there another package that provides the same device support?
是否有另一个提供相同设备支持的软件包?
Really comes down to DeviceClient type as in: 真正归结为DeviceClient类型,如下所示:
static DeviceClient deviceClient;
I could place the code in a 4.5.2 class library and try that. 我可以将代码放在4.5.2类库中,然后尝试尝试。 Anyone have a full .net core device implementation?
任何人都有完整的.net核心设备实现?
We just published a new version of the device client SDK that is .Net Standard 1.3 You should now be able to use it in a .Net Core project. 我们刚刚发布了.Net Standard 1.3设备客户端SDK的新版本。您现在应该可以在.Net Core项目中使用它。 Update the Nuget Package to latest version and try again.
将Nuget软件包更新到最新版本,然后重试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.