JaSHin
JaSHin

Reputation: 277

MONO - Method 'EventSource.WriteEvent' not found

I have a problem with my ASP.NET MVC app with Mono. I'm creating a simple app in Visual Studio. The app works on windows server but not on Mono. I get this error:

System.MissingMethodException Method 'EventSource.WriteEvent' not found.

Mono Version:

Mono JIT compiler version 4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16 13:19:08 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:           __thread
SIGSEGV:       altstack
Notifications: epoll
Architecture:  amd64
Disabled:      none
Misc:          softdebug 
LLVM:          supported, not enabled.
GC:            sgen

Screen: enter image description here

Upvotes: 0

Views: 305

Answers (1)

zmechanic
zmechanic

Reputation: 1990

Not all overloads of EventSource.WriteEvent are implemented in Mono. You either need to change your code to use only those implemented or wait for Cycle 7 release. I think it will be called Mono 4.4, but you have 4.2, so you'll have to upgrade.

Upvotes: 3

Related Questions