question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Report problem in vscode with not exists in visual studio 2022 (Ambiguity between...)

See original GitHub issue

I have a bunch of erro in vscode with Ambiguity between class and methods. Like image bellow: image

I created a branch in my repository to isolate that problem: https://github.com/liphvf/anisync/tree/isolete-omnisharp-problem Just build or run. That problem appears.

I don`t have any problem in visual studio 2022.

Vscode Version: 1.65.0. Dotnet Version: 6.0.200

For more help, my repository has a log in https://github.com/liphvf/anisync/blob/isolete-omnisharp-problem/omnisharpLog.txt and readme describe all information i have.

Thanks for all.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
liphvfcommented, Mar 8, 2022

HI @JoeRobich ,

I am testing change StrawberryShake to 13.0.0-preview.9 and 13.0.0-preview.11. In this version, the application won`t build because ambiguous erros appears.

Same result in another machine.

BUT, after update dotnet SDK to version 6.0.201. All errors disappear. 😄

Thanks for all.

0reactions
liphvfcommented, Mar 10, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Showing error " is ambiguous" even though the code compiles.
However, the compiler has no issue compiling it. If it compiles, then it definitely should not produce an IntelliSense error - a warning...
Read more >
c# - Ambiguity between X and X - Stack Overflow
It works perfectly fine, when I open the solution in Visual Studio 2022. So it appears to be a problem with VS Code....
Read more >
Report a problem with the Visual Studio product or installer
In Visual Studio, select the feedback icon in the upper-right corner and select Report a Problem. You can also access the feedback tool...
Read more >
Visual Code finds ambiguity when they aren't there
Here is the problem: Visual Code keeps reporting "Ambiguity between MYCLASS and MYCLASS". Basically identical classnames, but the problem is ...
Read more >
Common .NET Software Errors and How to Fix Them - Stackify
This very common issue erodes the strict type checking provided by the C# compiler. The temptation to hide warnings in Visual Studio's “Error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found