from pathlib import Path


def _make_dll_path(dll_name: str) -> Path:
    """
    Derive the expected path to a dll.
    :param dll_name: dll name.
    :return: Expected path to dll.
    """
    current_folder = Path(__file__).parent.resolve()
    return current_folder / "bin" / "netcoreapp2.1" / dll_name