Free Support Forum -

I'm getting Could not load file or assembly 'Aspose.Foundation' for any Aspose.GIS conversion

Whey trying todo a VectorLayer convertion I get this exception:

‘Could not load file or assembly ‘Aspose.Foundation, Version=, Culture=neutral, PublicKeyToken=716fcc553a201e56’ or one of its dependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))’.

Any ideas on who to solve this?

Hi, @nielsbosma

It seems, there is a special environment. Can you please share the OS name, Aspose.Gis version, type of project (console, unity, xamarin, web, etc). And we will try to help you more


I’m using the latest version of Aspose.Gis/WPF app/.net Framework/Windows 10.

As I load “plugins” of with the Aspose dll belongs in runtime and suspect that it could be the same issue as in this tread: Aspose with Nancy (Could not load file or assembly Aspose.Foundation)

And that you maybe haven’t fixed this in Aspose.GIS?

Thank you for sharing the details.

I’ve logged GISNET-606 to investigate this issue and update you here as soon as additional information is available.

Please feel free to contact us if you have any other issues or difficulty using the product.

I can confirm that by applying a similar solution as the Nancy guy I was able to fix my issue.

We are glad to hear that this workaround has been worked for you too.