I've had success adding this line to the bottom of my project's AssemblyInfo file in which I would like to expose internal methods/items. Also using .NET Framework 4.8
[assembly: InternalsVisibleTo("myProject.tests")]