Closed BorisDog closed 2 years ago
I can push a release which I think should fix those errors, see #163 I tested it locally with an azure function project, I did get an error before the change and everything works fine after.
Could you verify that somehow, too, before I push that to nuget.org? @BorisDog It is on myget https://www.myget.org/feed/dnsclient/package/nuget/DnsClient
Thanks, Michael
Thank you @MichaCo! I will verify and update here.
The new version verified to work in Azure Functions v3. Thank you @MichaCo!
@BorisDog thanks for testing! The fix has been released
/closing
Steps to reproduce:
var lookupClient = new LookupClient();
This will result in:
Microsoft.Win32.Registry, Version=5.0.0.0
(resolved with adding<_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>
in project settings.{"Registry is not supported on this platform."}
inRegistry.LocalMachine.OpenSubKey
Registry.LocalMachine.OpenSubKey does work in .net core 3.1 console project.
Note: We are seeing this error when trying to use MongoDB .NET driver in Azure functions 3.1: CSHARP-4200 This issue was resolved in Azure Function v3 (.net 6)., but this is still a blocker for existing apps to upgrade to the latest new MongoDB .NET driver.