I just started accessing py-files from C# via IronPython and for simple files it worked very well. However, accessing py-files that were used in a Visual Studio Python project is not quite as easy, because the pyproj-file configures imports and requirements and I am having difficulties replicating all of that with IronPython.
I basically want to access everything the Python software can do by invoking its modules from C# with IronPython. Does anyone know what the proper approach to do that is?
I tried just adding everything inside of "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\Lib" to my search path, including subdirectories. I successfully gathered all the paths and added them to the engine. I tested it by accessing a few MS shared modules and I don't get the "No module named XYZ" error, but mostly a generic "token error" instead, so putting the paths into the engine must've worked at least.
But what else do I have to do to get the software to work? Am I merely missing some further include paths or is there something else I'm missing, too?
edit: I just found a comment in this answer saying that IronPython isn't compatible with Python 3.x yet, and said comment responded to someone complaining about token errors similar to what I've been seeing. So I guess IronPython is out, then? I'm too much of a newbie to know whether for sure, e.g. there might be ways to make it compatible? I don't know.