MQTTnet
MQTTnet copied to clipboard
MqttClientFactory not fount in MQTTnet.4.3.6.1152
MQTTnet.MqttClientFactory not fount in MQTTnet.4.3.6.1152
Is it has been renamed to MQTTnet.MqttFactory?
but the samples code are not updated
Is it has been renamed to MQTTnet.MqttFactory?
but the samples code are not updated
Checkout the samples under https://github.com/dotnet/MQTTnet/tree/master/Samples, the wiki is for version 3 only.
I believe @SeppPenner might have misunderstood, and the issue is not old samples. Steps to reproduce:
- Start a new project
- Copy the code from one of the linked to samples
- Import the NuGet package MQTTnet 4.3.7.1207 (and presumably also 4.3.6.1152 and others)
The IDE will indeed say that The type or namespace name 'MqttClientFactory' could not be found (are you missing a using directive or an assembly reference?)
I believe @SeppPenner might have misunderstood, and the issue is not old samples. Steps to reproduce:
1. Start a new project 2. Copy the code from one of the linked to samples 3. Import the NuGet package MQTTnet 4.3.7.1207 (and presumably also 4.3.6.1152 and others)The IDE will indeed say that The type or namespace name 'MqttClientFactory' could not be found (are you missing a using directive or an assembly reference?)
It's been renamed to MqttFactory...
Ah, I understand. The samples are not up to date
The samples are now in sync with version 5 of the library. There are also links to the samples of older versions in the Wiki