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

Free Support Forum - aspose.com

Document.Create() Exception

cannot create empty Document with .NetStandard library,
culture is de-CH

System.TypeInitializationException : Der Typeninitialisierer für “Aspose.Words.Document” hat eine Ausnahme verursacht.
----> System.IO.FileNotFoundException : Die Datei oder Assembly “System.Text.Encoding.CodePages, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a” oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
bei Aspose.Words.Document…ctor()


You are facing this issue due to missing of System.Text.Encoding.CodePages DLL. Please remove Aspose.Words and SkiaSharp references from your project and clean it. Please install Aspose.Words for .NET through NuGet .

If Aspose.Words for .NET Standard is intended to be used in Linux environment, an additional NuGet package (SkiaSharp.NativeAssets.Linux) should be referenced to make it work correctly with graphics. To make it work in Linux, it is required to add Linux native Skia library. So, please add reference to SkiaSharp.NativeAssets.Linux.

It seems that you are using old version of Aspose.Words. We suggest you please use the latest version of Aspose.Words for .NET 19.11.

Hope this helps you.