You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 13, 2022. It is now read-only.
Working on a fix for NATS, I used Dns.GetHostAddresses from the main library. The library is being built against .NET Standard 1.6.1, and I added the System.Net.NameResolution NuGet package to get this API. When trying to use it I receive the following build error:
1>Conn.cs(435,53,435,69): error CS0117: 'Dns' does not contain a definition for 'GetHostAddresses'
IntelliSense only suggests Dns.GetHostAddressesAsync.
I'm not sure why I can't use Dns.GetHostAddresses. Reviewing the .NET Standard 1.6 API it is clear it wasn't shipped, so I added the relevant NuGet package. The NuGet package states it supports at least .NET Standard 1.3. Looking at the code in question, I cannot find any evidence it excludes that method for .NET Standard.
The text was updated successfully, but these errors were encountered:
Working on a fix for NATS, I used
Dns.GetHostAddresses
from the main library. The library is being built against .NET Standard 1.6.1, and I added theSystem.Net.NameResolution
NuGet package to get this API. When trying to use it I receive the following build error:IntelliSense only suggests
Dns.GetHostAddressesAsync
.I'm not sure why I can't use
Dns.GetHostAddresses
. Reviewing the .NET Standard 1.6 API it is clear it wasn't shipped, so I added the relevant NuGet package. The NuGet package states it supports at least .NET Standard 1.3. Looking at the code in question, I cannot find any evidence it excludes that method for .NET Standard.The text was updated successfully, but these errors were encountered: