diff --git a/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj b/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj index 5af07ac..dc44208 100644 --- a/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj +++ b/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj @@ -23,7 +23,6 @@ - diff --git a/Source/MQTTnet/Client/Options/MqttClientOptionsBuilderTlsParameters.cs b/Source/MQTTnet/Client/Options/MqttClientOptionsBuilderTlsParameters.cs index a012cb2..6f214eb 100644 --- a/Source/MQTTnet/Client/Options/MqttClientOptionsBuilderTlsParameters.cs +++ b/Source/MQTTnet/Client/Options/MqttClientOptionsBuilderTlsParameters.cs @@ -27,9 +27,9 @@ namespace MQTTnet.Client.Options public IEnumerable Certificates { get; set; } #endif - #if NETCOREAPP3_1 - public List ApplicationProtocols {get;set;} - #endif +#if NETCOREAPP3_1 + public List ApplicationProtocols { get;set; } +#endif public bool AllowUntrustedCertificates { get; set; }