System.DllNotFoundException on StartBrowse method
Saratsin opened this issue · 2 comments
I'm trying to use your library in Xamarin.Android project (with Mono.Framework and .Net Standard 1.6)
And I'm stuck on getting this exception, when I calling ServiceBrowser.StartBrowse
method. Here are some details:
System.DllNotFoundException
/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
at (wrapper managed-to-native)
System.Net.NetworkInformation.MacNetworkChange:SCNetworkReachabilityCreateWithAddress (intptr,System.Net.NetworkInformation.MacNetworkChange/sockaddr_in&)
at System.Net.NetworkInformation.MacNetworkChange..ctor () [0x0000c] in <9624f2cab6ac4ffc9c31e9469d40591a>:0
at System.Net.NetworkInformation.NetworkChange.MaybeCreate () [0x00009] in <9624f2cab6ac4ffc9c31e9469d40591a>:0
@sarantis you are missing a library used by mono:
Probably you can reproduce this using mono alone and report an issue.
Adding an event handler to NetworkChange.{NetworkAddressChanged/NetworkAvailabilityChanged} should trigger the issue.
Closing due to inactivity