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.