Aspose版本支持.Net Core

官方消息称,Aspose从17.12.0版本开始支持.net core,此前仅支持.Net Framework,且功能有待完善。在.net core环境下使用Aspose.dll有两种方式。同时,Aspose.Words在Xamarin和.NET Standard 2.0方面也有版本更新及功能限制。

官方发布消息

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值