Aspose版本支持.Net Core

官方发布消息

Aspose从17.12.0版本开始,支持.net core,之前的版本只能运行在.Net Framework环境中。但是在功能方面还有一些需要完善的问题。

在.net core环境下用Aspose.dll有两种方式:1)Nuget中直接安装官方免费试用版,这样会直接将所依赖项一起安装好;2)直接添加引用,选择本地dll,此时需要额外从Nuget中安装两个依赖项:SkiaSharp和System.Text.Encoding.CodePages

官方发布Aspose.Words时消息原文

Xamarin

Starting from 17.12 release, Aspose.Words for Android via Xamarin, Aspose.Words for iOS via Xamarin and Aspose.Words for Mac via Xamarin have become part of Aspose.Words for .NET. Few breaking changes have been made:

  • External reference to SkiaSharp has been added (in previous versions SkiaSharp was merged into Aspose.Words for Xamarin dlls)
  • Native graphics objects (Android.Graphics.Bitmap and Android.Graphics.Canvas in Aspose.Words for Android via Xamarin version and CoreGraphics.CGImage and CoreGraphics.CGContext in Aspose.Words for iOS via Xamarin and Aspose.Words for Mac via Xamarin) has been replaced in public API with SkiaSharp.SKBitmap and SkiaSharp.SKCanvas accordingly. This allowed us to fully unify public API of all Aspose.Words for Xamarin versions. Code written for one platform can be reused on another without any changes.

.NET Standard 2.0

Starting from 17.12 release, Aspose.Words for .NET includes .NET Standard 2.0 version. It has full functionality of regular .NET version of Aspose.Words with few limitations and public API difference:

  • Saving to BMP is not yet supported.
  • Signing of PDF document is not yet supported.
  • Printing feature is not provided in .NET Standard
  • Saving to user browser is not provided, i.e. Document.Save(HttpResponse,string,ContentDescription,SaveOptions) overload is not available.
  • Public API differences are the same as in Xamarin versions, i.e. SkiaSharp.SKBitmap and SkiaSharp.SKCanvas are used as native graphics objects insted of System.Drawing.Bitmap and System.Drawing.Graphics.
原文地址:https://www.cnblogs.com/Betty-IT/p/10945347.html