MQTTnet icon indicating copy to clipboard operation
MQTTnet copied to clipboard

Can not package MQTTnet into a .NET Core 3.1 library.

Open peterle188 opened this issue 4 years ago • 1 comments

Describe the bug

My requirement is to provide MQTT services in a dynamically loadable / unloadable assembly plug-in.

Which project is your bug related to?

  • ManagedClient

To Reproduce

Steps to reproduce the behavior:

  1. Using this version of Managed MQTTnet 3.0.15
  2. Create a .NET Core 3.1 Library project and add Managed MQTTnet 3.0.15.
  3. Create a .NET Core 3.1 Console application and consume the above library project. The code will not function without the library project being defined as a Console application with a main().

Expected behavior

Expected the ability to package MQTT functionality into a Library and consume it elsewhere.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context / logging

Add any other context about the problem here. Include debugging or logging information here:

\\ Put your logging output here.

Code example

Please provide full code examples below where possible to make it easier for the developers to check your issues.

\\ Put your code here.

peterle188 avatar Apr 12 '21 17:04 peterle188

Please provide a sample project and more information about the issue. I use this library also as a 3rd Partly lib in other library-projects and never had problems with it.

chkr1011 avatar Jul 13 '22 17:07 chkr1011

I assume the issue is solved.

chkr1011 avatar Sep 25 '22 08:09 chkr1011