sta / sta/websocket-sharp

Cannot build due to assembly reference

Open
#599 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

When I try to build in a project, I receive these errors:

Assets\CamStream\Examples\Video Panel Example\Scripts\WebSocketReceiver.cs(46,12): error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

Assets\CamStream\Examples\Video Panel Example\Scripts\WebSocketReceiver.cs(45,12): error CS0012: The type 'EventHandler<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

I'm not quite sure where I'm supposed to be adding these references?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Assets\CamStream\Examples\Video Panel Example\Scripts\WebSocketReceiver.cs at lines 45-46 and reproduce the reported CS0012 errors in the affected project. Inspect the project’s assembly references and build configuration to determine why netstandard 2.0 is unavailable. Done means the example builds without the reported missing-reference errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.