Azure / azure-iot-protocol-gateway

Azure IoT protocol gateway enables protocol translation for Azure IoT Hub
Other
225 stars 151 forks source link

Not able to compile this in VS 2022 #199

Open ukotdiya02 opened 1 year ago

ukotdiya02 commented 1 year ago

I am getting below error

Severity Code Description Project File Line Suppression State
Error CS0234 The type or namespace name 'IO' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) ProtocolGateway.Providers.CloudStorage.NetStandard (netstandard1.4) \Mac\Home\Documents\Projects\POC\azure-iot-protocol-gateway-master\src\ProtocolGateway.Providers.CloudStorage\BlobSessionStatePersistenceProvider.cs 12 Active
Error CS0246 The type or namespace name 'RecyclableMemoryStreamManager' could not be found (are you missing a using directive or an assembly reference?) ProtocolGateway.Providers.CloudStorage.NetStandard (netstandard1.4) \Mac\Home\Documents\Projects\POC\azure-iot-protocol-gateway-master\src\ProtocolGateway.Providers.CloudStorage\BlobSessionStatePersistenceProvider.cs 20 Active
Error CS0006 Metadata file '\Mac\Home\Documents\Projects\POC\azure-iot-protocol-gateway-master\src\ProtocolGateway.IotHubClient\bin\Debug\netstandard1.3\Microsoft.Azure.Devices.ProtocolGateway.IotHubClient.dll' could not be found ProtocolGateway.Host.Common.NetStandard (netstandard1.3) \Mac\Home\Documents\Projects\POC\azure-iot-protocol-gateway-master\host\ProtocolGateway.Host.Common\CSC 1 Active
Error CS0006 Metadata file '\Mac\Home\Documents\Projects\POC\azure-iot-protocol-gateway-master\src\ProtocolGateway.IotHubClient\bin\Debug\netstandard1.3\Microsoft.Azure.Devices.ProtocolGateway.IotHubClient.dll' could not be found ProtocolGateway.Host.Console.NetStandard (netcoreapp1.1) \Mac\Home\Documents\Projects\POC\azure-iot-protocol-gateway-master\host\ProtocolGateway.Host.Console.NetStandard\CSC 1 Active
Error CS0006 Metadata file '\Mac\Home\Documents\Projects\POC\azure-iot-protocol-gateway-master\host\ProtocolGateway.Host.Common\bin\Debug\netstandard1.3\ProtocolGateway.Host.Common.dll' could not be found ProtocolGateway.Host.Console.NetStandard (netcoreapp1.1) \Mac\Home\Documents\Projects\POC\azure-iot-protocol-gateway-master\host\ProtocolGateway.Host.Console.NetStandard\CSC 1 Active
Error CS1503 Argument 1: cannot convert from 'System.Threading.CancellationToken' to 'System.TimeSpan' ProtocolGateway.IotHubClient.NetStandard (netstandard1.3) \Mac\Home\Documents\Projects\POC\azure-iot-protocol-gateway-master\src\ProtocolGateway.IotHubClient\CommandReceiver.cs 59 Active
Error CS1501 No overload for method 'OpenAsync' takes 1 arguments ProtocolGateway.IotHubClient.NetStandard (netstandard1.3) \Mac\Home\Documents\Projects\POC\azure-iot-protocol-gateway-master\src\ProtocolGateway.IotHubClient\IotHubBridge.cs 112 Active
Error CS0246 The type or namespace name 'RecyclableMemoryStreamManager' could not be found (are you missing a using directive or an assembly reference?) ProtocolGateway.Providers.CloudStorage.NetStandard (netstandard1.4) \Mac\Home\Documents\Projects\POC\azure-iot-protocol-gateway-master\src\ProtocolGateway.Providers.CloudStorage\BlobSessionStatePersistenceProvider.cs 20 Active
Error CS0246 The type or namespace name 'RecyclableMemoryStream' could not be found (are you missing a using directive or an assembly reference?) ProtocolGateway.Providers.CloudStorage.NetStandard (netstandard1.4) \Mac\Home\Documents\Projects\POC\azure-iot-protocol-gateway-master\src\ProtocolGateway.Providers.CloudStorage\BlobSessionStatePersistenceProvider.cs 80 Active
Warning NETSDK1138 The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. ProtocolGateway.Client.NetStandard C:\Program Files\dotnet\sdk\6.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets 28  
Error MSB3644 The reference assemblies for .NETFramework,Version=v4.5.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks ProtocolGateway.Core.NetStandard C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1220  
Error MSB3644 The reference assemblies for .NETFramework,Version=v4.5.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks ProtocolGateway.IotHubClient.NetStandard C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1220  
Warning NETSDK1138 The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. ProtocolGateway.Host.Console.NetStandard C:\Program Files\dotnet\sdk\6.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets 28  
Error MSB3644 The reference assemblies for .NETFramework,Version=v4.5.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks ProtocolGateway.Providers.CloudStorage.NetStandard C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1220