Gregory
I ran your sample as it is, it gave me big list of net assemblies
Next, I took code only method GetAllAssemblies and added to my class
in dotnebridge project and builded it.This project has only class definition, no any calling of methods inside this class
this project type was class library dll
I added calling this new method from my test program in separate c module and ran it
And I got old 3 assemblies list result
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.