DocX
DocX copied to clipboard
Will you add net 6 support?
As far as I understand this lib currently doesn't support net 6. Have you plans to add such support?
Hi, Yes, v2.3 will support .NET5. That version will also work on .NET6. Thank you.
Hi, Yes, v2.3 will support .NET5. That version will also work on .NET6. Thank you.
When will I see on nuget
Hi, I would say beginning of September 2022. So in a few weeks from now.
Hi, @XceedBoucherS, I use .NET6 and for inserting pictures I get System.Drawing.Common is not supported on this platform. I see here it still says .NET5 (https://www.nuget.org/packages/DocX/2.4.0#dependencies-body-tab) and it seems System.Drawing.Common is not supported in .NET6 (https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only) Could you please clarify that does it support .NET6 now or not?
Hi, Are you on Windows ? Currently, .NET5/6/7 is supported on Windows (even if it says .NET5). Moving the product on other platforms following the Microsoft recommandations relative to System.Drawing.Common would result in a downgrade of functionalities in the product. We are investigating on doing it a good way.
For windows, I created a new .NET6 project, downloaded DocX v2.4 from NuGet and run the following sample:
using Xceed.Words.NET;
var doc = DocX.Create( "test.docx" );
var image = doc.AddImage( "myPicture.jpg" ); var picture = image.CreatePicture( 112.5f, 112.5f ); doc.InsertParagraph( "This is my text" ).AppendPicture( picture );
doc.Save();
Everything worked without any problems.
Thank you