I have sync master branch (and i also download the project as zip) and when i open the project i am getting 3 errors.
1)
Severity Code Description Project File Line Suppression State
Error System.Runtime.CompilerServices.Unsafe doesn't support netcoreapp2.1. Consider updating your TargetFramework to netcoreapp3.1 or later. PrestaSharp.IntegrationTests C:\Users\efialtis.nuget\packages\system.runtime.compilerservices.unsafe\6.0.0\buildTransitive\netcoreapp2.0\System.Runtime.CompilerServices.Unsafe.targets 4
2)
Severity Code Description Project File Line Suppression State
Error NU1201 Project PrestaSharp is not compatible with net452 (.NETFramework,Version=v4.5.2). Project PrestaSharp supports: netstandard2.0 (.NETStandard,Version=v2.0) PrestaSharp.IntegrationTests C:\Users\User\Downloads\PrestaSharp-master\PrestaSharp.IntegrationTests\PrestaSharp.IntegrationTests.csproj 1
3)
Severity Code Description Project File Line Suppression State
Error Project '..\PrestaSharp\PrestaSharp.csproj' targets 'netstandard2.0'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.5.2'. PrestaSharp.IntegrationTests C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1867
I solve the problem by changing the target framework for
PrestaSharp to net472
PrestaSharp.IntergrationTests to net472
PrestaSharpTests to .net 8.0
and now i see updated restsharp :)
I have sync master branch (and i also download the project as zip) and when i open the project i am getting 3 errors.
1) Severity Code Description Project File Line Suppression State Error System.Runtime.CompilerServices.Unsafe doesn't support netcoreapp2.1. Consider updating your TargetFramework to netcoreapp3.1 or later. PrestaSharp.IntegrationTests C:\Users\efialtis.nuget\packages\system.runtime.compilerservices.unsafe\6.0.0\buildTransitive\netcoreapp2.0\System.Runtime.CompilerServices.Unsafe.targets 4
2) Severity Code Description Project File Line Suppression State Error NU1201 Project PrestaSharp is not compatible with net452 (.NETFramework,Version=v4.5.2). Project PrestaSharp supports: netstandard2.0 (.NETStandard,Version=v2.0) PrestaSharp.IntegrationTests C:\Users\User\Downloads\PrestaSharp-master\PrestaSharp.IntegrationTests\PrestaSharp.IntegrationTests.csproj 1
3) Severity Code Description Project File Line Suppression State Error Project '..\PrestaSharp\PrestaSharp.csproj' targets 'netstandard2.0'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.5.2'. PrestaSharp.IntegrationTests C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1867