EntryPoint NotFound Exception when trying to execute Silk4NET Test in debug mode
When running a Silk4NET test in debug mode within Visual Studio 2010, you may encounter the following exception:
System.EntryPointNotFoundException crossed a native/managed boundary HResult=-2146233053 Message=Unable to find an entry point named 'EventSetInformation' in DLL 'advapi32.dll'. Source=mscorlib TypeName="" StackTrace: at Microsoft.Win32.UnsafeNativeMethods.ManifestEtw.EventSetInformation(Int64 registrationHandle, EVENT_INFO_CLASS informationClass, Void* eventInformation, Int32 informationLength) at System.Diagnostics.Tracing.EventProvider.SetInformation(EVENT_INFO_CLASS eventInfoClass, Void* data, Int32 dataSize) InnerException:
The exception indicates an issue with the Visual Studio 2010 configuration and environment.
To resolve the issue you will need to do the following:
Click on the 'Debug' menu and select 'Options'. Ensure that the following option is unchecked:
With this option unchecked, you should no longer receive this exception when running in debug mode.