MQTTnet
MQTTnet copied to clipboard
Reopen: nuget version of MQTTnet.Extensions.TopicTemplate is not up to date
I do not have the ability to reopen issues, so per github recommendations I am creating a new one.
Original issue: https://github.com/dotnet/MQTTnet/issues/2055
I have confirmed that the version numbers now match, however when attempting to use the packages with the sample project I get the following:
CS1929 'MqttClientSubscribeOptionsBuilder' does not contain a definition for 'WithTopicTemplate' and the best extension method overload 'TopicTemplateExtensions.WithTopicTemplate(MqttTopicFilterBuilder, MqttTopicTemplate, bool)' requires a receiver of type 'MQTTnet.MqttTopicFilterBuilder' MQTTnet.Samples C:<my project details>\Samples\Client\Client_Subscribe_Samples.cs 47
What I did was pull just that one project from your github repo. I then changed the project references to target the latest versions of the packages on nuget. And then I did a build. I'm attaching a screen shot.
It looks like the MqttClientSubscribeOptionsBuilder WithTopicTemplate extension method was not compiled into the package.