NOTICE: Our Community is moving. Get more information. Updated information on a New Login Process
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
Message=Unable to find an entry point named 'EventSetInformation' in DLL 'advapi32.dll'.
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)
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.