This works fine for the .Net framework version. I have ported the application to .Net core, but have been unable to get it to work.
Running RegAsm against the .Net core dll generates the following error:
regasm: error RA0000 : could not load file or assembly System.Runtime, version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.