Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MqttClientFactory not fount in MQTTnet.4.3.6.1152 #2073

Open
RedForc opened this issue Aug 28, 2024 · 5 comments
Open

MqttClientFactory not fount in MQTTnet.4.3.6.1152 #2073

RedForc opened this issue Aug 28, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@RedForc
Copy link

RedForc commented Aug 28, 2024

MQTTnet.MqttClientFactory not fount in MQTTnet.4.3.6.1152

@RedForc RedForc added the bug Something isn't working label Aug 28, 2024
@RedForc
Copy link
Author

RedForc commented Aug 28, 2024

Is it has been renamed to MQTTnet.MqttFactory?

but the samples code are not updated

@SeppPenner
Copy link
Collaborator

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.

@Geving
Copy link

Geving commented Oct 21, 2024

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?)

@SeppPenner
Copy link
Collaborator

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...

@SeppPenner
Copy link
Collaborator

Ah, I understand. The samples are not up to date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants