[Python.NET] Re: BadImageFormatException or FileNotFoundException- pythonnet and AlphaVSS

2022-07-11 Thread Steven Manross
It looks like the problem was created by me in gathering these DLLs the way I did. After building the DLLs from the Git source in VS 2019, I can now correctly create the VSSFactory object from my sample script without any dependency issues. Thanks for everyone’s suggestions. Enjoy the rest of

[Python.NET] Re: BadImageFormatException or FileNotFoundException- pythonnet and AlphaVSS

2022-07-11 Thread Denis Akhiyarov
This one is quite common error, but things might have changed in .net core since this wiki was written: https://github.com/pythonnet/pythonnet/wiki/Troubleshooting-on-Windows,-Linux,-and-OSX On Mon, Jul 11, 2022 at 12:11 PM Steven Manross wrote: > Thanks for that: Dependency walker was what I

[Python.NET] Re: BadImageFormatException or FileNotFoundException- pythonnet and AlphaVSS

2022-07-11 Thread Steven Manross
Thanks for that: Dependency walker was what I needed to see why it was having issues. This DLL depends on the .NET Core and Visual C++ Redist (both are installed but it still cant see particular files like: API-MS-WIN-CORE-PROCESSTHREADS-L1-1-3.DLL). Searching for this and other files it is m

[Python.NET] Re: BadImageFormatException or FileNotFoundException- pythonnet and AlphaVSS

2022-07-11 Thread Mark Visser
+1 - in the past I've used https://www.dependencywalker.com/ to figure out the problem. On mac you can use otool -L, and on linux you can use ldd. > On Jul 11, 2022, at 9:38 AM, Alex Earl wrote: > > Sometimes the file not found error occurs because a depende

[Python.NET] Re: BadImageFormatException or FileNotFoundException- pythonnet and AlphaVSS

2022-07-11 Thread Alex Earl
Sometimes the file not found error occurs because a dependency of the dll can not be found. On Sun, Jul 10, 2022, 20:06 Steven Manross wrote: > Howdy all, > > > > I am somewhat new to pythonnet and .NET programming, and just joined the > mailing list. You have my apologies if I am missing somet