Support for .NET 6 | Using System.Drawing.Common

I tried to change to “.NET 6 Windows” to fix the issue with System.Drawing.Common, but I get an exception:

    System.Exception: Exception of type 'System.Exception' was thrown.
   at    .(Byte[] )
   at    .( )
   at    .(String )
   at    .(String )
   at    ..(String )
   at    ..()
   at    .(Object , ResolveEventArgs )
   at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler eventHandler, RuntimeAssembly assembly, String name)
   at System.Runtime.Loader.AssemblyLoadContext.OnResourceResolve(RuntimeAssembly assembly, String resourceName)
   at System.Reflection.RuntimeAssembly.GetResource(QCallAssembly assembly, String resourceName, UInt32& length)
   at System.Reflection.RuntimeAssembly.GetManifestResourceStream(String name)
   at  .(Object )
   at  .(Object )
   at  .(MethodBase , Boolean )
   at  .  (  )
   at  ()
   at  .()
   at  .(Object )
   at  .(Object )
   at  . ()
   at  .(Object , UInt32 )
   at  .()
   at  .()
   at  .()
   at  .(Object )
   at  .(Object )
   at  . ()
   at  .(Object , UInt32 )
   at  .()
   at  .(Object[] , Type[] , Type[] , Object[])
   at  .(Stream , Int32 , Object[] , Type[], Type[] , Object[] )
   at  .(Int32 , Type[] , Type[] , Boolean)
   at  . (  )
   at  ()
   at  .()
   at  .(Object )
   at  .(Object )
   at  . ()
   at  .(Object , UInt32 )
   at  .()
   at  .()
   at  .()
   at  .(Object )
   at  .(Object )
   at  . ()
   at  .(Object , UInt32 )
   at  .()
   at  .(Object[] , Type[] , Type[] , Object[])
   at  .(Stream , String , Object[] , Type[], Type[] , Object[] )
   at  .(Stream , String , Object[] )
   at  .(Stream , String , Object[] )
   at Aspose.Html.License.SetLicense(Stream stream)

I’m using Aspose.HTML 21.7.0.

@stestp

The latest version of Aspose.HTML for .NET 22.1 supports .NET 6.0. So, please use Aspose.HTML for .NET 22.1.