Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to compile this in VS 2022 #199

Open
ukotdiya02 opened this issue Nov 27, 2022 · 0 comments
Open

Not able to compile this in VS 2022 #199

ukotdiya02 opened this issue Nov 27, 2022 · 0 comments

Comments

@ukotdiya02
Copy link

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  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant