简体   繁体   English

NET Core 1.1的Microsoft.azure.devices.client版本

[英]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.

相关问题 “ Microsoft.Azure.Devices.Client”中的ReceiveAsync方法是否消耗Internet? - Does ReceiveAsync Method in 'Microsoft.Azure.Devices.Client' Consumes Internet? Microsoft.Azure.Devices.Client ModuleClient更改默认的HttpClientHandler - Microsoft.Azure.Devices.Client ModuleClient change default HttpClientHandler Azure中的ASP.NET Core 1.1路由 - ASP.NET Core 1.1 routing in Azure “Microsoft.Azure.Devices.Client.Message”和“Microsoft.Azure.Devices.Message”之间的不明确引用 - Ambiguous reference between 'Microsoft.Azure.Devices.Client.Message' and 'Microsoft.Azure.Devices.Message 在.NET Core 1.1项目启动时,Microsoft.AspNetCore.Server.Kestrel中的TypeLoadException - TypeLoadException in Microsoft.AspNetCore.Server.Kestrel on startup for .NET Core 1.1 project 如何从Asp.net Core 1.1 MVC访问Microsoft Graph - How to access Microsoft Graph from Asp.net Core 1.1 MVC .net Core 1.1升级问题 - .net core 1.1 upgrade issue .NET Core 3.1 类库和 .NET Core 3.1 Azure Function V3 类库之间的“Microsoft.Extensions.Options”版本冲突 - "Microsoft.Extensions.Options" version conflicts between .NET Core 3.1 Class Library and .NET Core 3.1 Azure Function V3 Class Library .net core 1.1中的嵌套包含 - nested includes in .net core 1.1 .NET Core 1.1和运行时本地化 - .NET core 1.1 and localization in runtime
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM