Skip to content

.NET Framework example project does not build #155

@brad-bodily-gallagher-com

Description

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

  1. Clone the repo
  2. Navigate to the test_integration\Websocket.Client.Sample.NetFramework directory
  3. Run dotnet build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions