diff --git a/src/AgDatabaseMove.csproj b/src/AgDatabaseMove.csproj index 54e55af..a2a6c5b 100755 --- a/src/AgDatabaseMove.csproj +++ b/src/AgDatabaseMove.csproj @@ -40,4 +40,8 @@ + + + + diff --git a/src/SmoFacade/Listener.cs b/src/SmoFacade/Listener.cs index 4eaf9dc..6dea34e 100755 --- a/src/SmoFacade/Listener.cs +++ b/src/SmoFacade/Listener.cs @@ -1,4 +1,3 @@ -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("AgDatabaseMove.Unit")] namespace AgDatabaseMove.SmoFacade { using System; @@ -147,7 +146,7 @@ private static Server AgInstanceNameToServer(ref SqlConnectionStringBuilder conn /// /// Resolves 'agReplicaInstanceName' to a FQDN - /// However on Unix OS, when 'val' in 'Dns.GetHostEntry(val)' is not a complete domain (i.e is just "abc", instead of "abc.def.com"), it fails intermittently + /// However on Unix OS, when 'val' in 'Dns.GetHostEntry(val)' is not a FQDN, it fails intermittently /// Therefore, if dns lookup on just the instance name fails, we retry after appending the domain fragments from the listener to the instance name /// /// The name for an instance within the AG (for which we are trying to get the FQDN)