fsprojects / fsprojects/Paket

CS1021: Error ambiguous between System.Link.Queryable and System.Link.Async.Queryable -- Is there away to use both in same method; or to exclude System.Link.Async?

Open
#3,970 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

Added NuGet package System.Link.Async; for an Async Repository. Worked great.
But, now all the non-Async methods in repository are saying Ambiguous reference because of previous System.Link.
Can remove "using System.Link", but obviously, the non-async method link statements will throw errors.

In otherwords, your nuget package is stepping on the System.Link namespace.

Using EntityFramework database _contect has similiar issue.

The Async Link is awesome, just would like to use it with the rest of my existing applicaiton.

Repro steps

Please provide the steps required to reproduce the problem

  1. Step A

  2. Step B

If possible then please create a git repository with a repro sample or attach a zip to the issue.

Expected behavior

Please provide a description of the behavior you expect.

Actual behavior

Please provide a description of the actual behavior you observe.

Known workarounds

Please provide a description of any known workarounds.

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 by building a minimal C# example that references System.Link.Async alongside System.Link and uses both synchronous and asynchronous repository methods. The issue does not name a repository file or test; done would require a confirmed reproduction and a documented compatibility solution or a clearly scoped package change.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.