Free Support Forum - aspose.com

Exception "Could not load file or assembly ‘System.Text.Encoding.CodePages’"

When i tried using Aspose in AWS lambda function im getting below file load exception.

FileLoadException: Could not load file or assembly ‘System.Text.Encoding.CodePages, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)

Please help me out.

Thanks,
Aravinth


This Topic is created by Amjad_Sahi using Email to Topic tool.

@aravin,

Thanks for the details.

There are some dependencies for Aspose.Cells for .NET Standard/Core framework which you also need to install. If you could check the release page on Nuget, e.g


now click on Dependencies node you will see the following entries:

.NETStandard 2.0

So, you need to install these APIs as well to work with Aspose.Cells on AWS lambda.