I figured something out. I tried IronPython 3.4.0 and got error of not being able to load System.Memory v4.0.1.1 System.Memory.dll comes with and is placed right next to Ironpython.dll in manifold/shared. Using Process Monitor (Tools -> File summary) I could see that manifold process looks for System.Memory from following locations but not where Ironpython.dll, which requires it, is. C:\Program Files\Manifold\v9.0\bin64\System.Memory.dll C:\Program Files\Manifold\v9.0\bin64\System.Memory.exe C:\Program Files\Manifold\v9.0\bin64\System.Memory C:\Program Files\Manifold\v9.0\Bin64\System.Memory\System.Memory.dll C:\Program Files\Manifold\v9.0\Bin64\System.Memory\System.Memory.exe C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Memory\v4.0_4.0.1.1__cc7b13ffcd2ddd51\System.Memory.dll C:\Windows\assembly\GAC_MSIL\System.Memory\4.0.1.1__cc7b13ffcd2ddd51\System.Memory.dll C:\Windows\Microsoft.Net\assembly\GAC\System.Memory\v4.0_4.0.1.1__cc7b13ffcd2ddd51\System.Memory.dll C:\Windows\Microsoft.Net\assembly\GAC_64\System.Memory\v4.0_4.0.1.1__cc7b13ffcd2ddd51\System.Memory.dll C:\Windows\assembly\GAC\System.Memory\4.0.1.1__cc7b13ffcd2ddd51\System.Memory.dll C:\Windows\assembly\GAC_64\System.Memory\4.0.1.1__cc7b13ffcd2ddd51\System.Memory.dll Workaround is to copy System.Memory to bin64. I know from previous experience that I can put gdal.dll in any subfolder to bin64, but plugins for gdal MUST be at bin64\gdalplugins. Otherwise manifold process does not find them. Usually gdalplugins folder is relative to gdal.dll. This looks like "current directory" or "relative path" issue. I could probably install System.Memory into GAC but I read there are some issues(*). I do not understand if I should avoid GAC or just use it and not worry. (*) https://github.com/dotnet/msbuild/pull/6470 https://github.com/dotnet/runtime/issues/45921
|