Upon cloning the repo and trying to build the test_integration\Websocket.Client.Sample.NetFramework project (linked as the .net framework sample in the readme), dotnet build produces the following output, stating that Websocket.Client.csproj cannot be referenced by the framework example project.
dotnet build
Restore complete (0.5s)
Websocket.Client.Sample.NetFramework failed with 1 error(s) (0.0s)
C:\Program Files\dotnet\sdk\9.0.303\Microsoft.Common.CurrentVersion.targets(1890,5): error : Project '..\..\src\Websocket.Client\Websocket.Client.csproj' targets 'netstandard2.1;net6;net7;net8'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.7.1'.
Build failed with 1 error(s) in 0.9s
Steps to reproduce
- Clone the repo
- Navigate to the test_integration\Websocket.Client.Sample.NetFramework directory
- Run
dotnet build
Upon cloning the repo and trying to build the
test_integration\Websocket.Client.Sample.NetFrameworkproject (linked as the .net framework sample in the readme),dotnet buildproduces the following output, stating thatWebsocket.Client.csprojcannot be referenced by the framework example project.Steps to reproduce
dotnet build