public static string GetAssemblyArtifactBinPath(
            Assembly testAssembly,
            string assemblyName,
            TargetFrameworkMoniker tfm = TargetFrameworkMoniker.Current)
        {
            string assemblyPath = testAssembly.Location
                                  .Replace(testAssembly.GetName().Name, assemblyName);

            if (tfm != TargetFrameworkMoniker.Current)
            {
                string currentFolderName = DotNetHost.BuiltTargetFrameworkMoniker.ToFolderName();
                string targetFolderName  = tfm.ToFolderName();

                assemblyPath = assemblyPath.Replace(currentFolderName, targetFolderName);
            }

            return(assemblyPath);
        }