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.

MissingMethodException - GetUsersAsync - Windows Form Application

See original GitHub issue

When attempting to make: _client = new DiscordSocketClient();

On C# Windows Form Application I get an error: System.MissingMethodException: 'Method not found: 'System.Collections.Generic.IAsyncEnumerable1<System.Collections.Generic.IReadOnlyCollection1<Discord.IUser>> Discord.IChannel.GetUsersAsync(Discord.CacheMode, Discord.RequestOptions)'.'

If I try the same on an console application it works just fine. I tried using VS 2017 and 2019.

Is there an incompatibility between Discord.net and Windows Form Application ?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
Hawxycommented, Nov 30, 2019

Please use the latest nightly build via the MyGet feed in the README. This issue has been fixed for a while.

2reactions
Vbuddiescommented, Jun 14, 2019

I’m Having the Same Issue…Tried everything that has been done so far, but no luck on any of it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Winforms User Control MissingMethodException
So essentially, I have a custom user control called ExcelDisplay. I try to drag it over in visual studio from the toolbox into...
Read more >
MissingMethodException Class (System)
MissingMethodException is thrown when code in a dependent assembly attempts to access a missing method in an assembly that was modified. MissingMethodException ......
Read more >
What's new in Windows Forms in .NET 6.0
Read about the new features that are in Windows Forms in .NET 6.0.
Read more >
System.MissingMethodException - Method not found in C#
To fix the Method not found error in C#, ensure that the latest assemblies are deployed and no duplicate or older assemblies are...
Read more >
Create a Windows Forms app with C# - Visual Studio ...
Learn how to create a Windows Forms app in Visual Studio with C#, step-by-step.
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