This is a very specific issue depending on whether you are trying to run in a version of .NET Core less than 2 *or* a .NET Standard library less than 1.5
Essentially, for .NET Core 1 or .NET Standard < 1.5, you have to do something like so :
typeof(<AClassHere>).GetTypeInfo().Assembly
More or less give it a class that you want to get the assembly for.
But on versions of .NET Core beyond (And .NET Standard beyond 1.5), you can do the standard calls of :
System.Reflection.Assembly.GetExecutingAssembly();