FlareSquared
FlareSquared

Reputation: 31

Method 'System.Net.Logging.get_On' not found

I code, test and run my bot from the Visual Studio Community IDE

Whenever I start my discord bot on my mac (Macbook Pro, OSX Sierra) it stops at
await discord.LoginAsync(TokenType.Bot, token);
with a System.MissingMethodException for a method called System.Net.Logging.get_On

discord is my DiscordSocketClient and token does get set to a valid token.

The bot does run perfectly fine on other computers.

Thanks in advance, I've looked everywhere but no one has ever heard of this before.

Upvotes: 1

Views: 1802

Answers (1)

FlareSquared
FlareSquared

Reputation: 31

Turns out that all that was wrong was a old version of mono, install the latest version to fix.

Upvotes: 1

Related Questions