Oh! I saw that topic the other day. That’s the reason I used a Dependency Walker. Firstly I used the one you mentioned there and then the other I linked in my previous reply.
I don’t see any red folder, what I see are a few yellow question marks. And there are some errors I don’t know how to solve in the middle box. Is this normal?

pytorchcrashes_21920×1050 249 KB

I’ve also followed your recommendation there and manually copied ALL the files from libtorch-win-shared-with-deps-1.10.0+cpu\libtorch\lib to my output folder. In my case there are 13 files, since I’m not using the CUDA version
But the error is still there.
Both my DLL and C# application are compiled in Debug x64. What I did is to create a folder in my solution, in which I copied my DLL and all necessary DLLs, I set every file to:
Build Action -> Content
Copy to Output Directory -> Copy always