Cannot build due to assembly reference
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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