.net - WCF discovery: Interface not found exception -
i'm trying use .net 4's discovery in wcf. no matter do, i'm getting not useful exception:
system.argumentexception crossed native/managed boundary message=interface not found. source=mscorlib stacktrace: @ system.runtimetypehandle.verifyinterfaceisimplemented(runtimetypehandle handle, runtimetypehandle interfacehandle) @ system.runtimetype.getinterfacemap(type ifacetype) @ microsoft.visualstudio.diagnostics.servicemodelsink.servicemethodresolver.resolvemethodinfo(type implementationtype, methodinfo contractmethod) @ microsoft.visualstudio.diagnostics.servicemodelsink.servicemethodresolver..ctor(contractdescription contract, dispatchruntime runtime, message request, instancecontext instancecontext) innerexception:
(stack trace empty.)
hitting "continue", program chokes few seconds, continues , displays correct results. happens in microsoft's supplied wcf examples. made sure unhandled exceptions displayed in exceptions window in vs 2010.
i've got no idea might causing this, considering fact program work except short break caused exception.
the exception occurs in every project uses discovery, both created me , supplied microsoft in official wcf examples. happens on machine, works fine on co-worker's box.
in desperation cross-posted @ http://social.msdn.microsoft.com/forums/en-us/wcf/thread/8e326b48-232c-4510-8194-aa9d4ba36829
i facing same problem vs2015 update 3
what worked me, enabling visual studio hosting process in offending project properties, debug section
i tried toggling checkbox few times, , behavior consistent.
Comments
Post a Comment