        private static string GetPrivateBinPath()
        {
            string binPath = null;

#if !NETSTANDARD2_0
            // TODO: FACAVAL AppContext.BaseDirectory is equivalent to AppDomain.CurrentDomain.BaseDirectory
            // Explore whether an alternative is needed and what they would be.
            // if (AppDomain.CurrentDomain.SetupInformation.PrivateBinPath != null)
            // {
            //      binPath = AppDomain.CurrentDomain.SetupInformation.PrivateBinPath
            //              .Split(';').FirstOrDefault();
            // }
#endif
            return binPath ?? AppDomain.CurrentDomain.BaseDirectory;
        }