@andrey.potapov I was not able to run the test as suggested on .net standard 2.1. Since I have .Net6 and .Net8 installed on my Mac, the project. file I was setting to:
<TargetFrameworks>netstandard2.1;net6.0</TargetFrameworks>
and this is what I was getting:
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at.(Font )
at.(String , , , Boolean , Int32 , & )
at.( , , , , , Int32 , Boolean , , &)
at .(& , Boolean&)
at .()
at ..ctor(TextFrame , , IBaseSlide , , [] )
at .( , )
at .( , Single, Single , )
at .( , &, RectangleF& , )
at .()
at Aspose.Slides.Paragraph.GetRect()
at (TextFrame , AutoShape)
at .(TextFrame )
at .()
at [T](String , TemplateContext`1, TextWriter )
at .[T](TextWriter , String, TemplateContext`1 )
at.()
at [T](String , TemplateContext`1, TextWriter )
at .[T](TextWriter , String, TemplateContext`1 )
at .(IShape , Slide, Boolean , Int32 , Dictionary`2 )
at .()
at [T](String , TemplateContext`1, TextWriter )
at .()
at .Compile(String , Object)
at .Write(Stream )
at .Save(String , IOutputFile)
at Aspose.Slides.Export.Web.WebDocument.Save()
at .(Presentation , Stream, IHtml5Options )
at Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format, ISaveOptions options)
at Aspose.Slides.Presentation.Save(String fname, SaveFormat format)
I was referencing Aspose.Slides as a Nuget package.
Anyway, this what I meant with Java package just working in comparison with .Net
Thanks,