We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Fail to load file in Universal Windows Platform app project

Using the latest version, it failed to open any psd file when running in UWP project.

It will give this error:

FileLoadException: Could not load file or assembly ‘System.Text.Encoding.CodePages, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The located assembly’s manifest definition does not match the assembly reference.

Sample project attached.

UWP PSD Fail to load sample.zip (111.9 KB)

@NickMok

Can you please ensure if that is Aspose.PSD issue. The latest Aspose.PSD for .NET 21.7 has dependency on System.Text.Enocoding.CodePage version 5.0.0 or above.

https://www.nuget.org/packages/Aspose.PSD/

Nevermind, I just found that this PSD for .net SDK use System.Drawing which make it not possible to be used in UWP project.

@NickMok

Yes, it has dependency on that. Should, we consider this thread to be closed.