01-28-2022, 01:13 PM
I see that there is a FileNotFoundException. It would be good if we can see the value of the FileNotFoundException.FileName property.
If this would show assimp64.dll then assimp loader cannot find the assimp64.dll file.
You can explicitly set the location of the file by calling AssimpWpfImporter.LoadAssimpNativeLibrary (see comments in the AssimpLoader.cs file for more info (in the Ab3d.PowerToys.Sample project).
But it is also possible that the missing file is part of the Visual C++Redistributable for Visual Studio 2019 that is required for the native assimp library. See the comments in the AssimpLoader.cs file for details on how to distribute that redistributable to your client computer (you can also check the internet for more info on that).
If this would show assimp64.dll then assimp loader cannot find the assimp64.dll file.
You can explicitly set the location of the file by calling AssimpWpfImporter.LoadAssimpNativeLibrary (see comments in the AssimpLoader.cs file for more info (in the Ab3d.PowerToys.Sample project).
But it is also possible that the missing file is part of the Visual C++Redistributable for Visual Studio 2019 that is required for the native assimp library. See the comments in the AssimpLoader.cs file for details on how to distribute that redistributable to your client computer (you can also check the internet for more info on that).
Andrej Benedik

