Update settings for tests project so that it will build on linux (#1860)

* Update settings for tests project so that it will build on linux

* Improve unit tests and samples

* Remove no longer required target frameworks for unit tests

* Update ci.yml
This commit is contained in:
Christian
2023-11-01 09:34:18 +01:00
committed by GitHub
parent d22caa7b70
commit 2599b3dfdc
6 changed files with 18 additions and 16 deletions
+3 -1
View File
@@ -184,7 +184,7 @@ public static class Client_Subscribe_Samples
* This sample shows how to achieve concurrent processing and not have message AutoAcknowledged
* This to have a proper QoS1 (at-least-once) experience for what at least MQTT specification can provide
*/
mqttClient.ApplicationMessageReceivedAsync += async ea =>
mqttClient.ApplicationMessageReceivedAsync += ea =>
{
ea.AutoAcknowledge = false;
@@ -201,6 +201,8 @@ public static class Client_Subscribe_Samples
}
_ = Task.Run(ProcessAsync, shutdownToken);
return Task.CompletedTask;
};
}