Description
openedon Jun 21, 2023
Verification
Describe the bug
github solution fails to build
Which component is your bug related to?
see below
To Reproduce
download library, try to build solution with Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.6.4.
Build fails: with 42 errors
Expected behavior
build should work
Screenshots
Additional context / logging
Severity Code Description Project File Line Suppression State
Error CS0731 The type forwarder for type 'Windows.Networking.Sockets.StreamSocket' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 29 Active
Error CS1069 The type name 'StreamSocket' could not be found in the namespace 'Windows.Networking.Sockets'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 29 Active
Error CS0731 The type forwarder for type 'Windows.Networking.Sockets.StreamSocket' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 39 Active
Error CS1069 The type name 'StreamSocket' could not be found in the namespace 'Windows.Networking.Sockets'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 39 Active
Error CS0731 The type forwarder for type 'Windows.Security.Cryptography.Certificates.ChainValidationResult' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 52 Active
Error CS1069 The type name 'ChainValidationResult' could not be found in the namespace 'Windows.Security.Cryptography.Certificates'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 52 Active
Error CS0731 The type forwarder for type 'Windows.Security.Cryptography.Certificates.Certificate' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 127 Active
Error CS1069 The type name 'Certificate' could not be found in the namespace 'Windows.Security.Cryptography.Certificates'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 127 Active
Error CS0731 The type forwarder for type 'Windows.Security.Cryptography.Certificates.ChainValidationResult' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 142 Active
Error CS1069 The type name 'ChainValidationResult' could not be found in the namespace 'Windows.Security.Cryptography.Certificates'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 142 Active
Error CS0731 The type forwarder for type 'Windows.Networking.Sockets.StreamSocketListener' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpServerAdapter.Uwp.cs 24 Active
Error CS1069 The type name 'StreamSocketListener' could not be found in the namespace 'Windows.Networking.Sockets'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpServerAdapter.Uwp.cs 24 Active
Error CS0731 The type forwarder for type 'Windows.Networking.Sockets.StreamSocketListener' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpServerAdapter.Uwp.cs 73 Active
Error CS1069 The type name 'StreamSocketListener' could not be found in the namespace 'Windows.Networking.Sockets'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpServerAdapter.Uwp.cs 73 Active
Error CS0731 The type forwarder for type 'Windows.Networking.Sockets.StreamSocketListenerConnectionReceivedEventArgs' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpServerAdapter.Uwp.cs 73 Active
Error CS1069 The type name 'StreamSocketListenerConnectionReceivedEventArgs' could not be found in the namespace 'Windows.Networking.Sockets'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpServerAdapter.Uwp.cs 73 Active
Error CS0103 The name 'SocketProtectionLevel' does not exist in the current context MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 46 Active
Error CS0731 The type forwarder for type 'Windows.Networking.Sockets.StreamSocket' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 64 Active
Error CS1069 The type name 'StreamSocket' could not be found in the namespace 'Windows.Networking.Sockets'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 64 Active
Error CS0731 The type forwarder for type 'Windows.Networking.HostName' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 71 Active
Error CS1069 The type name 'HostName' could not be found in the namespace 'Windows.Networking'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 71 Active
Error CS0103 The name 'SocketProtectionLevel' does not exist in the current context MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 82 Active
Error CS0103 The name 'SocketProtectionLevel' does not exist in the current context MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 85 Active
Error CS0103 The name 'SocketProtectionLevel' does not exist in the current context MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 89 Active
Error CS0731 The type forwarder for type 'Windows.Networking.HostName' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 92 Active
Error CS1069 The type name 'HostName' could not be found in the namespace 'Windows.Networking'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 92 Active
Error CS0731 The type forwarder for type 'Windows.Security.Cryptography.Certificates.Certificate' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 139 Active
Error CS1069 The type name 'Certificate' could not be found in the namespace 'Windows.Security.Cryptography.Certificates'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 139 Active
Error CS0731 The type forwarder for type 'Windows.Storage.Streams.IBuffer' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 139 Active
Error CS0731 The type forwarder for type 'Windows.Security.Cryptography.Certificates.ChainValidationResult' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 149 Active
Error CS1069 The type name 'ChainValidationResult' could not be found in the namespace 'Windows.Security.Cryptography.Certificates'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 149 Active
Error CS0103 The name 'ChainValidationResult' does not exist in the current context MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 153 Active
Error CS0103 The name 'ChainValidationResult' does not exist in the current context MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 155 Active
Error CS0103 The name 'ChainValidationResult' does not exist in the current context MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 160 Active
Error CS0103 The name 'ChainValidationResult' does not exist in the current context MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpChannel.Uwp.cs 165 Active
Error CS0731 The type forwarder for type 'Windows.Networking.Sockets.StreamSocketListener' in assembly 'Windows' causes a cycle MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpServerAdapter.Uwp.cs 40 Active
Error CS1069 The type name 'StreamSocketListener' could not be found in the namespace 'Windows.Networking.Sockets'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpServerAdapter.Uwp.cs 40 Active
Error CS0103 The name 'SocketQualityOfService' does not exist in the current context MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpServerAdapter.Uwp.cs 45 Active
Error CS0103 The name 'SocketProtectionLevel' does not exist in the current context MQTTnet (uap10.0) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\Implementations\MqttTcpServerAdapter.Uwp.cs 48 Active
Error CS0006 Metadata file 'C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\bin\Debug\uap10.0\MQTTnet.dll' could not be found MQTTnet.Extensions.ManagedClient (netstandard1.3) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet.Extensions.ManagedClient\CSC 1 Active
Error CS0006 Metadata file 'C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\bin\Debug\uap10.0\MQTTnet.dll' could not be found MQTTnet.Extensions.Rpc (netstandard1.3) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet.Extensions.Rpc\CSC 1 Active
Error CS0006 Metadata file 'C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet\bin\Debug\uap10.0\MQTTnet.dll' could not be found MQTTnet.Extensions.WebSocket4Net (netstandard1.3) C:\Users\Rob Latour\Desktop\New folder\MQTTnet-master\MQTTnet-master\Source\MQTTnet.Extensions.WebSocket4Net\CSC 1 Active